mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add the new file server layout to the conf file
This commit is contained in:
parent
279e5c4d0b
commit
77c67af2cc
1 changed files with 25 additions and 2 deletions
27
conf/master
27
conf/master
|
@ -43,6 +43,12 @@
|
|||
# public keys from the minions
|
||||
#auto_accept: False
|
||||
|
||||
##### State System settings #####
|
||||
##########################################
|
||||
# The state system uses a "top" file to tell the minions what environment to
|
||||
# use and what modules to use. The state_top file is defined relative to the
|
||||
# root of the base environment
|
||||
#state_top: top.yml
|
||||
|
||||
##### File Server settings #####
|
||||
##########################################
|
||||
|
@ -50,8 +56,25 @@
|
|||
# minions. This file server is built into the master daemon and does not
|
||||
# require a dedicated port.
|
||||
|
||||
# The file root is the root directory exposed by the file server
|
||||
#file_root: /srv/salt
|
||||
# The file server works on environments passed to the master, each environment
|
||||
# can have multiple root directories, the subdirectories in the multiple file
|
||||
# roots cannot match, otherwise the downloaded files will not be able to be
|
||||
# reliably ensured. A base environment is required to house the top file
|
||||
# Example:
|
||||
# file_root:
|
||||
# - base:
|
||||
# - /srv/salt/
|
||||
# - dev:
|
||||
# - /srv/salt/dev/services
|
||||
# - /srv/salt/dev/states
|
||||
# - prod:
|
||||
# - /srv/salt/prod/services
|
||||
# - /srv/salt/prod/states
|
||||
#
|
||||
# Default:
|
||||
#file_roots:
|
||||
# - base:
|
||||
# - /srv/salt
|
||||
|
||||
# The hash_type is the hash to use when discovering the hash of a file on
|
||||
# the master server, the default is md5, but sha1, sha224, sha256, sha384
|
||||
|
|
Loading…
Add table
Reference in a new issue