22.14.4. salt.fileserver.roots

The default file server backend

Based on the environments in the file_roots configuration option.

salt.fileserver.roots.dir_list(load)

Return a list of all directories on the master

salt.fileserver.roots.envs()

Return the file server environments

salt.fileserver.roots.file_hash(load, fnd)

Return a file hash, the hash type is set in the master config file

salt.fileserver.roots.file_list(load)

Return a list of all files on the file server in a specified environment

salt.fileserver.roots.file_list_emptydirs(load)

Return a list of all empty directories on the master

salt.fileserver.roots.find_file(path, saltenv='base', env=None, **kwargs)

Search the environment for the relative path

salt.fileserver.roots.serve_file(load, fnd)

Return a chunk from a file based on the data received

Return a dict of all symlinks based on a given path on the Master

salt.fileserver.roots.update()

When we are asked to update (regular interval) lets reap the cache

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Previous topic

22.14.3. salt.fileserver.minionfs

Next topic

22.14.5. salt.fileserver.s3fs

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.