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
salt.fileserver.roots.symlink_list(load)¶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
Current Salt release: 2014.1.7
Docs for previous releases on salt.rtfd.org.