Liking cljdoc? Tell your friends :D

pallet.ssh.node-state.state-root

A node-state implementation that maintains node state in a parallel directory tree.

A node-state implementation that maintains node state in a parallel directory
tree.
raw docstring

create-path-with-templateclj

(create-path-with-template template-path new-path)

Create the /var/lib/pallet directory if required, ensuring correct permissions. Note this is not the final directory.

Create the /var/lib/pallet directory if required, ensuring correct
permissions. Note this is not the final directory.
sourceraw docstring

default-state-rootclj

(default-state-root)

Provide a computed default for state-root if it isn't set.

Provide a computed default for state-root if it isn't set.
sourceraw docstring

md5-pathclj

(md5-path state-path)

Return a path for the md5 file for state-path under state-root.

Return a path for the md5 file for state-path under state-root.
sourceraw docstring

recordclj

(record path
        state-path
        {:keys [max-versions no-versioning versioning]
         :or {max-versions 5 versioning :numbered}})

Script to record a new (version of a) file in state-root

Script to record a new (version of a) file in state-root
sourceraw docstring

record-md5clj

(record-md5 path md5-path)

Script to record a file's md5

Script to record a file's md5
sourceraw docstring

state-pathclj

(state-path session state-root path)

Return a path under state-root for a given path.

Return a path under state-root for a given path.
sourceraw docstring

state-path*clj

(state-path* session state-root script-dir path)

Return a path under state-root for a given path.

Return a path under state-root for a given path.
sourceraw docstring

state-root-backupclj

(state-root-backup {:keys [state-root] :as options})

Return a state-root backup instance that can keep backups.

Return a state-root backup instance that can keep backups.
sourceraw docstring

state-root-checksumclj

(state-root-checksum {:keys [state-root] :as options})

Return a state-root checksum instance that can verify md5 checksums.

Return a state-root checksum instance that can verify md5 checksums.
sourceraw docstring

state-root-setupclj

(state-root-setup {:keys [state-root] :as options})

Return a state-root-setup instance that can setup the state root.

Return a state-root-setup instance that can setup the state root.
sourceraw docstring

verifyclj

(verify path state-path md5-path)

verify if the files at path and state-path are identical, and whether they match the md5-path.

verify if the files at path and state-path are identical, and
whether they match the md5-path.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close