variation.minion
author Paul Tonelli <paul.tonelli@logilab.fr>
Fri, 15 Mar 2013 09:43:42 +0100
changeset 79 07d85619353a
parent 14 6c75dfac2047
child 181 52418fb97f5d
permissions -rw-r--r--
modified syntax to go from salt['grains.present']('...') to grains['...'] whichi is MUCH cleaner and removed use of vriables to have only grains

# top file to execute if startup_states is 'top'
#top_file: ''

#####     File Directory Settings    #####
##########################################
# The Salt Minion can redirect all file server operations to a local directory,
# this allows for the same state tree that is on the master to be used if
# copied completely onto the minion. This is a literal copy of the settings on
# the master but used to reference a local directory on the minion.

# Set the file client, the client defaults to looking on the master server for
# files, but can be directed to look at the local file directory setting
# defined below by setting it to local.
file_client: local

# The file directory works on environments passed to the minion, 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.

file_roots:
  base:
    - /etc/salt/srv