2011-03-29 05:10:49 +00:00
|
|
|
##### Primary configuration settings #####
|
2015-08-12 00:12:21 +00:00
|
|
|
##########################################
|
2014-09-26 21:38:49 +00:00
|
|
|
# This configuration file is used to manage the behavior of the Salt Minion.
|
2015-03-24 18:10:01 +00:00
|
|
|
# With the exception of the location of the Salt Master Server, values that are
|
|
|
|
# commented out but have an empty line after the comment are defaults that need
|
|
|
|
# not be set in the config. If there is no blank line after the comment, the
|
|
|
|
# value is presented as an example and is not the default.
|
2012-07-26 01:42:20 +00:00
|
|
|
|
|
|
|
# Per default the minion will automatically include all config files
|
|
|
|
# from minion.d/*.conf (minion.d is a directory in the same directory
|
|
|
|
# as the main minion config file).
|
|
|
|
#default_include: minion.d/*.conf
|
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# Set the location of the salt master server. If the master server cannot be
|
2012-02-04 05:10:29 +00:00
|
|
|
# resolved, then the minion will fail to start.
|
2011-05-20 02:45:18 +00:00
|
|
|
#master: salt
|
2011-03-29 05:10:49 +00:00
|
|
|
|
2015-12-02 03:55:41 +00:00
|
|
|
# Set http proxy information for the minion when doing requests
|
|
|
|
#proxy_host:
|
|
|
|
#proxy_port:
|
|
|
|
#proxy_username:
|
|
|
|
#proxy_password:
|
|
|
|
|
2014-02-04 07:42:21 +00:00
|
|
|
# If multiple masters are specified in the 'master' setting, the default behavior
|
|
|
|
# is to always try to connect to them in the order they are listed. If random_master is
|
|
|
|
# set to True, the order will be randomized instead. This can be helpful in distributing
|
2014-09-26 21:38:49 +00:00
|
|
|
# the load of many minions executing salt-call requests, for example, from a cron job.
|
2014-02-04 07:42:21 +00:00
|
|
|
# If only one master is listed, this setting is ignored and a warning will be logged.
|
2016-01-03 05:21:51 +00:00
|
|
|
# NOTE: If master_type is set to failover, use master_shuffle instead.
|
2014-02-04 07:42:21 +00:00
|
|
|
#random_master: False
|
|
|
|
|
2016-01-03 05:21:51 +00:00
|
|
|
# Use if master_type is set to failover.
|
|
|
|
#master_shuffle: False
|
|
|
|
|
2015-06-23 17:07:45 +00:00
|
|
|
# Minions can connect to multiple masters simultaneously (all masters
|
|
|
|
# are "hot"), or can be configured to failover if a master becomes
|
|
|
|
# unavailable. Multiple hot masters are configured by setting this
|
2015-07-24 17:55:56 +00:00
|
|
|
# value to "str". Failover masters can be requested by setting
|
2015-06-23 17:07:45 +00:00
|
|
|
# to "failover". MAKE SURE TO SET master_alive_interval if you are
|
|
|
|
# using failover.
|
2016-03-09 18:28:45 +00:00
|
|
|
# Setting master_type to 'disable' let's you have a running minion (with engines and
|
|
|
|
# beacons) without a master connection
|
2015-06-30 18:50:41 +00:00
|
|
|
# master_type: str
|
2015-06-23 17:07:45 +00:00
|
|
|
|
|
|
|
# Poll interval in seconds for checking if the master is still there. Only
|
2015-11-06 21:15:06 +00:00
|
|
|
# respected if master_type above is "failover". To disable the interval entirely,
|
|
|
|
# set the value to -1. (This may be necessary on machines which have high numbers
|
|
|
|
# of TCP connections, such as load balancers.)
|
2015-06-23 17:07:45 +00:00
|
|
|
# master_alive_interval: 30
|
|
|
|
|
2016-05-16 19:11:38 +00:00
|
|
|
# If the minion is in multi-master mode and the master_type configuration option
|
|
|
|
# is set to "failover", this setting can be set to "True" to force the minion
|
|
|
|
# to fail back to the first master in the list if the first master is back online.
|
|
|
|
#master_failback: False
|
|
|
|
|
|
|
|
# If the minion is in multi-master mode, the "master_type" configuration is set to
|
|
|
|
# "failover", and the "master_failback" option is enabled, the master failback
|
|
|
|
# interval can be set to ping the top master with this interval, in seconds.
|
|
|
|
#master_failback_interval: 0
|
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# Set whether the minion should connect to the master via IPv6:
|
2013-06-17 23:33:06 +00:00
|
|
|
#ipv6: False
|
|
|
|
|
2012-11-09 22:48:34 +00:00
|
|
|
# Set the number of seconds to wait before attempting to resolve
|
|
|
|
# the master hostname if name resolution fails. Defaults to 30 seconds.
|
|
|
|
# Set to zero if the minion should shutdown and not retry.
|
|
|
|
# retry_dns: 30
|
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# Set the port used by the master reply and authentication server.
|
2011-03-05 03:27:32 +00:00
|
|
|
#master_port: 4506
|
2011-03-29 05:10:49 +00:00
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# The user to run salt.
|
2012-01-18 20:29:38 +00:00
|
|
|
#user: root
|
|
|
|
|
2016-05-20 20:48:40 +00:00
|
|
|
# The user to run salt remote execution commands as via sudo. If this option is
|
|
|
|
# enabled then sudo will be used to change the active user executing the remote
|
|
|
|
# command. If enabled the user will need to be allowed access via the sudoers
|
|
|
|
# file for the user that the salt minion is configured to run as. The most
|
|
|
|
# common option would be to use the root user. If this option is set the user
|
|
|
|
# option should also be set to a non-root user. If migrating from a root minion
|
|
|
|
# to a non root minion the minion cache should be cleared and the minion pki
|
|
|
|
# directory will need to be changed to the ownership of the new user.
|
|
|
|
#sudo_user: root
|
2015-06-30 07:24:43 +00:00
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# Specify the location of the daemon process ID file.
|
2012-09-24 05:55:28 +00:00
|
|
|
#pidfile: /var/run/salt-minion.pid
|
2012-09-24 05:40:33 +00:00
|
|
|
|
2012-12-22 06:03:19 +00:00
|
|
|
# The root directory prepended to these options: pki_dir, cachedir, log_file,
|
|
|
|
# sock_dir, pidfile.
|
2011-06-21 01:29:26 +00:00
|
|
|
#root_dir: /
|
|
|
|
|
2016-05-17 16:58:20 +00:00
|
|
|
# The path to the minion's configuration file.
|
|
|
|
#conf_file: /etc/salt/minion
|
|
|
|
|
2011-03-05 03:27:32 +00:00
|
|
|
# The directory to store the pki information in
|
2012-11-19 21:37:35 +00:00
|
|
|
#pki_dir: /etc/salt/pki/minion
|
2011-03-29 05:10:49 +00:00
|
|
|
|
2011-04-12 19:56:03 +00:00
|
|
|
# Explicitly declare the id for this minion to use, if left commented the id
|
|
|
|
# will be the hostname as returned by the python call: socket.getfqdn()
|
2011-05-26 10:22:37 +00:00
|
|
|
# Since salt uses detached ids it is possible to run multiple minions on the
|
|
|
|
# same machine but with different ids, this can be useful for salt compute
|
2011-04-12 19:56:03 +00:00
|
|
|
# clusters.
|
|
|
|
#id:
|
2011-03-29 05:10:49 +00:00
|
|
|
|
2016-05-16 20:12:38 +00:00
|
|
|
# Cache the minion id to a file when the minion's id is not statically defined
|
|
|
|
# in the minion config. Defaults to "True". This setting prevents potential
|
|
|
|
# problems when automatic minion id resolution changes, which can cause the
|
2016-05-16 23:13:40 +00:00
|
|
|
# minion to lose connection with the master. To turn off minion id caching,
|
2016-05-16 20:12:38 +00:00
|
|
|
# set this config to ``False``.
|
|
|
|
#minion_id_caching: True
|
|
|
|
|
2012-03-15 01:35:07 +00:00
|
|
|
# Append a domain to a hostname in the event that it does not exist. This is
|
2012-06-07 21:18:03 +00:00
|
|
|
# useful for systems where socket.getfqdn() does not actually result in a
|
2012-03-15 01:35:07 +00:00
|
|
|
# FQDN (for instance, Solaris).
|
|
|
|
#append_domain:
|
|
|
|
|
2012-09-24 05:40:33 +00:00
|
|
|
# Custom static grains for this minion can be specified here and used in SLS
|
|
|
|
# files just like all other grains. This example sets 4 custom grains, with
|
2014-09-26 21:38:49 +00:00
|
|
|
# the 'roles' grain having two values that can be matched against.
|
2012-09-24 05:40:33 +00:00
|
|
|
#grains:
|
|
|
|
# roles:
|
|
|
|
# - webserver
|
|
|
|
# - memcache
|
|
|
|
# deployment: datacenter4
|
|
|
|
# cabinet: 13
|
|
|
|
# cab_u: 14-15
|
2015-03-24 18:10:01 +00:00
|
|
|
#
|
2014-09-26 21:38:49 +00:00
|
|
|
# Where cache data goes.
|
2015-04-03 23:17:06 +00:00
|
|
|
# This data may contain sensitive data and should be protected accordingly.
|
2012-11-19 21:37:35 +00:00
|
|
|
#cachedir: /var/cache/salt/minion
|
2011-03-29 05:10:49 +00:00
|
|
|
|
2016-08-03 18:25:14 +00:00
|
|
|
# Append minion_id to these directories. Helps with
|
|
|
|
# multiple proxies and minions running on the same machine.
|
|
|
|
# Allowed elements in the list: pki_dir, cachedir, extension_modules
|
|
|
|
# Normally not needed unless running several proxies and/or minions on the same machine
|
|
|
|
# Defaults to ['cachedir'] for proxies, [] (empty list) for regular minions
|
|
|
|
#append_minionid_config_dirs:
|
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# Verify and set permissions on configuration directories at startup.
|
2012-09-24 05:40:33 +00:00
|
|
|
#verify_env: True
|
|
|
|
|
2012-01-18 06:59:01 +00:00
|
|
|
# The minion can locally cache the return data from jobs sent to it, this
|
2012-02-04 05:10:29 +00:00
|
|
|
# can be a good way to keep track of jobs the minion has executed
|
2014-09-26 21:38:49 +00:00
|
|
|
# (on the minion side). By default this feature is disabled, to enable, set
|
|
|
|
# cache_jobs to True.
|
2012-01-18 06:59:01 +00:00
|
|
|
#cache_jobs: False
|
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# Set the directory used to hold unix sockets.
|
2012-11-19 21:37:35 +00:00
|
|
|
#sock_dir: /var/run/salt/minion
|
2012-09-24 05:40:33 +00:00
|
|
|
|
2013-01-11 01:13:31 +00:00
|
|
|
# Set the default outputter used by the salt-call command. The default is
|
2014-09-26 21:38:49 +00:00
|
|
|
# "nested".
|
2013-01-11 01:13:31 +00:00
|
|
|
#output: nested
|
2017-06-15 22:21:47 +00:00
|
|
|
|
|
|
|
# To set a list of additional directories to search for salt outputters, set the
|
|
|
|
# outputter_dirs option.
|
|
|
|
#outputter_dirs: []
|
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# By default output is colored. To disable colored output, set the color value
|
|
|
|
# to False.
|
2013-01-11 01:16:24 +00:00
|
|
|
#color: True
|
2013-01-11 01:13:31 +00:00
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# Do not strip off the colored output from nested results and state outputs
|
|
|
|
# (true by default).
|
|
|
|
# strip_colors: False
|
2014-06-20 07:48:20 +00:00
|
|
|
|
2012-09-22 01:48:41 +00:00
|
|
|
# Backup files that are replaced by file.managed and file.recurse under
|
2017-02-26 21:49:29 +00:00
|
|
|
# 'cachedir'/file_backup relative to their original location and appended
|
2012-09-22 01:48:41 +00:00
|
|
|
# with a timestamp. The only valid setting is "minion". Disabled by default.
|
|
|
|
#
|
|
|
|
# Alternatively this can be specified for each file in state files:
|
|
|
|
# /etc/ssh/sshd_config:
|
|
|
|
# file.managed:
|
|
|
|
# - source: salt://ssh/sshd_config
|
2013-07-27 05:28:15 +00:00
|
|
|
# - backup: minion
|
2012-09-22 01:48:41 +00:00
|
|
|
#
|
|
|
|
#backup_mode: minion
|
|
|
|
|
2012-01-13 22:29:24 +00:00
|
|
|
# When waiting for a master to accept the minion's public key, salt will
|
2012-01-18 06:59:01 +00:00
|
|
|
# continuously attempt to reconnect until successful. This is the time, in
|
2012-01-13 22:29:24 +00:00
|
|
|
# seconds, between those reconnection attempts.
|
2012-09-07 19:33:21 +00:00
|
|
|
#acceptance_wait_time: 10
|
2012-01-13 22:29:24 +00:00
|
|
|
|
2013-07-28 00:53:15 +00:00
|
|
|
# If this is nonzero, the time between reconnection attempts will increase by
|
|
|
|
# acceptance_wait_time seconds per iteration, up to this maximum. If this is
|
|
|
|
# set to zero, the time between reconnection attempts will stay constant.
|
|
|
|
#acceptance_wait_time_max: 0
|
2013-07-27 20:51:38 +00:00
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# If the master rejects the minion's public key, retry instead of exiting.
|
|
|
|
# Rejected keys will be handled the same as waiting on acceptance.
|
2014-03-24 18:16:31 +00:00
|
|
|
#rejected_retry: False
|
|
|
|
|
2013-08-01 01:43:37 +00:00
|
|
|
# When the master key changes, the minion will try to re-auth itself to receive
|
|
|
|
# the new master key. In larger environments this can cause a SYN flood on the
|
|
|
|
# master because all minions try to re-auth immediately. To prevent this and
|
|
|
|
# have a minion wait for a random amount of time, use this optional parameter.
|
2014-09-26 21:38:49 +00:00
|
|
|
# The wait-time will be a random number of seconds between 0 and the defined value.
|
2013-07-08 14:47:13 +00:00
|
|
|
#random_reauth_delay: 60
|
|
|
|
|
2017-03-02 23:42:45 +00:00
|
|
|
|
|
|
|
# To avoid overloading a master when many minions startup at once, a randomized
|
|
|
|
# delay may be set to tell the minions to wait before connecting to the master.
|
|
|
|
# This value is the number of seconds to choose from for a random number. For
|
|
|
|
# example, setting this value to 60 will choose a random number of seconds to delay
|
|
|
|
# on startup between zero seconds and sixty seconds. Setting to '0' will disable
|
|
|
|
# this feature.
|
|
|
|
#random_startup_delay: 0
|
|
|
|
|
2014-02-05 17:36:17 +00:00
|
|
|
# When waiting for a master to accept the minion's public key, salt will
|
|
|
|
# continuously attempt to reconnect until successful. This is the timeout value,
|
|
|
|
# in seconds, for each individual attempt. After this timeout expires, the minion
|
2014-09-26 21:38:49 +00:00
|
|
|
# will wait for acceptance_wait_time seconds before trying again. Unless your master
|
|
|
|
# is under unusually heavy load, this should be left at the default.
|
2014-04-23 23:01:32 +00:00
|
|
|
#auth_timeout: 60
|
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
# Number of consecutive SaltReqTimeoutError that are acceptable when trying to
|
|
|
|
# authenticate.
|
2014-08-07 13:38:11 +00:00
|
|
|
#auth_tries: 7
|
2014-04-23 23:01:32 +00:00
|
|
|
|
2016-03-15 15:29:13 +00:00
|
|
|
# The number of attempts to connect to a master before giving up.
|
|
|
|
# Set this to -1 for unlimited attempts. This allows for a master to have
|
|
|
|
# downtime and the minion to reconnect to it later when it comes back up.
|
|
|
|
# In 'failover' mode, it is the number of attempts for each set of masters.
|
|
|
|
# In this mode, it will cycle through the list of masters for each attempt.
|
|
|
|
#
|
|
|
|
# This is different than auth_tries because auth_tries attempts to
|
|
|
|
# retry auth attempts with a single master. auth_tries is under the
|
|
|
|
# assumption that you can connect to the master but not gain
|
|
|
|
# authorization from it. master_tries will still cycle through all
|
|
|
|
# the masters in a given try, so it is appropriate if you expect
|
|
|
|
# occasional downtime from the master(s).
|
|
|
|
#master_tries: 1
|
|
|
|
|
2014-08-11 17:46:43 +00:00
|
|
|
# If authentication fails due to SaltReqTimeoutError during a ping_interval,
|
|
|
|
# cause sub minion process to restart.
|
2014-07-24 16:25:57 +00:00
|
|
|
#auth_safemode: False
|
2014-07-23 19:46:23 +00:00
|
|
|
|
2017-11-30 18:56:10 +00:00
|
|
|
# Ping Master to ensure connection is alive (minutes).
|
2014-04-23 23:01:32 +00:00
|
|
|
#ping_interval: 0
|
2013-07-17 16:46:43 +00:00
|
|
|
|
2014-09-01 13:18:46 +00:00
|
|
|
# To auto recover minions if master changes IP address (DDNS)
|
2014-04-23 23:01:32 +00:00
|
|
|
# auth_tries: 10
|
|
|
|
# auth_safemode: False
|
2017-11-30 18:56:10 +00:00
|
|
|
# ping_interval: 2
|
2014-04-23 23:01:32 +00:00
|
|
|
#
|
2014-09-26 21:38:49 +00:00
|
|
|
# Minions won't know master is missing until a ping fails. After the ping fail,
|
2014-09-01 13:18:46 +00:00
|
|
|
# the minion will attempt authentication and likely fails out and cause a restart.
|
2014-09-02 09:38:23 +00:00
|
|
|
# When the minion restarts it will resolve the masters IP and attempt to reconnect.
|
2014-02-05 17:36:17 +00:00
|
|
|
|
2014-08-11 17:46:43 +00:00
|
|
|
# If you don't have any problems with syn-floods, don't bother with the
|
2013-07-17 16:46:43 +00:00
|
|
|
# three recon_* settings described below, just leave the defaults!
|
|
|
|
#
|
|
|
|
# The ZeroMQ pull-socket that binds to the masters publishing interface tries
|
|
|
|
# to reconnect immediately, if the socket is disconnected (for example if
|
|
|
|
# the master processes are restarted). In large setups this will have all
|
|
|
|
# minions reconnect immediately which might flood the master (the ZeroMQ-default
|
2013-09-26 23:32:33 +00:00
|
|
|
# is usually a 100ms delay). To prevent this, these three recon_* settings
|
2013-07-17 16:46:43 +00:00
|
|
|
# can be used.
|
2013-09-26 23:32:33 +00:00
|
|
|
# recon_default: the interval in milliseconds that the socket should wait before
|
2014-05-30 17:15:24 +00:00
|
|
|
# trying to reconnect to the master (1000ms = 1 second)
|
2013-07-17 16:46:43 +00:00
|
|
|
#
|
|
|
|
# recon_max: the maximum time a socket should wait. each interval the time to wait
|
|
|
|
# is calculated by doubling the previous time. if recon_max is reached,
|
|
|
|
# it starts again at recon_default. Short example:
|
|
|
|
#
|
|
|
|
# reconnect 1: the socket will wait 'recon_default' milliseconds
|
|
|
|
# reconnect 2: 'recon_default' * 2
|
|
|
|
# reconnect 3: ('recon_default' * 2) * 2
|
|
|
|
# reconnect 4: value from previous interval * 2
|
|
|
|
# reconnect 5: value from previous interval * 2
|
|
|
|
# reconnect x: if value >= recon_max, it starts again with recon_default
|
|
|
|
#
|
2013-09-26 23:32:33 +00:00
|
|
|
# recon_randomize: generate a random wait time on minion start. The wait time will
|
|
|
|
# be a random value between recon_default and recon_default +
|
|
|
|
# recon_max. Having all minions reconnect with the same recon_default
|
|
|
|
# and recon_max value kind of defeats the purpose of being able to
|
|
|
|
# change these settings. If all minions have the same values and your
|
|
|
|
# setup is quite large (several thousand minions), they will still
|
2014-07-13 18:43:33 +00:00
|
|
|
# flood the master. The desired behavior is to have timeframe within
|
2013-09-26 23:32:33 +00:00
|
|
|
# all minions try to reconnect.
|
2013-07-17 16:46:43 +00:00
|
|
|
#
|
2014-09-26 21:38:49 +00:00
|
|
|
# Example on how to use these settings. The goal: have all minions reconnect within a
|
|
|
|
# 60 second timeframe on a disconnect.
|
|
|
|
# recon_default: 1000
|
|
|
|
# recon_max: 59000
|
|
|
|
# recon_randomize: True
|
2013-07-17 16:46:43 +00:00
|
|
|
#
|
|
|
|
# Each minion will have a randomized reconnect value between 'recon_default'
|
|
|
|
# and 'recon_default + recon_max', which in this example means between 1000ms
|
2013-09-26 23:32:33 +00:00
|
|
|
# 60000ms (or between 1 and 60 seconds). The generated random-value will be
|
|
|
|
# doubled after each attempt to reconnect. Lets say the generated random
|
|
|
|
# value is 11 seconds (or 11000ms).
|
2013-07-17 16:46:43 +00:00
|
|
|
# reconnect 1: wait 11 seconds
|
|
|
|
# reconnect 2: wait 22 seconds
|
|
|
|
# reconnect 3: wait 33 seconds
|
|
|
|
# reconnect 4: wait 44 seconds
|
|
|
|
# reconnect 5: wait 55 seconds
|
|
|
|
# reconnect 6: wait time is bigger than 60 seconds (recon_default + recon_max)
|
|
|
|
# reconnect 7: wait 11 seconds
|
|
|
|
# reconnect 8: wait 22 seconds
|
|
|
|
# reconnect 9: wait 33 seconds
|
|
|
|
# reconnect x: etc.
|
|
|
|
#
|
|
|
|
# In a setup with ~6000 thousand hosts these settings would average the reconnects
|
|
|
|
# to about 100 per second and all hosts would be reconnected within 60 seconds.
|
2014-09-26 21:38:49 +00:00
|
|
|
# recon_default: 100
|
|
|
|
# recon_max: 5000
|
|
|
|
# recon_randomize: False
|
2015-03-24 18:10:01 +00:00
|
|
|
#
|
|
|
|
#
|
2013-01-14 08:18:40 +00:00
|
|
|
# The loop_interval sets how long in seconds the minion will wait between
|
2016-04-18 16:51:01 +00:00
|
|
|
# evaluating the scheduler and running cleanup tasks. This defaults to 1
|
|
|
|
# second on the minion scheduler.
|
|
|
|
#loop_interval: 1
|
2013-01-14 08:18:40 +00:00
|
|
|
|
2016-04-18 15:41:58 +00:00
|
|
|
# Some installations choose to start all job returns in a cache or a returner
|
|
|
|
# and forgo sending the results back to a master. In this workflow, jobs
|
|
|
|
# are most often executed with --async from the Salt CLI and then results
|
|
|
|
# are evaluated by examining job caches on the minions or any configured returners.
|
|
|
|
# WARNING: Setting this to False will **disable** returns back to the master.
|
|
|
|
#pub_ret: True
|
|
|
|
|
|
|
|
|
2015-11-01 17:46:51 +00:00
|
|
|
# The grains can be merged, instead of overridden, using this option.
|
|
|
|
# This allows custom grains to defined different subvalues of a dictionary
|
|
|
|
# grain. By default this feature is disabled, to enable set grains_deep_merge
|
|
|
|
# to ``True``.
|
|
|
|
#grains_deep_merge: False
|
|
|
|
|
2013-10-18 18:56:54 +00:00
|
|
|
# The grains_refresh_every setting allows for a minion to periodically check
|
|
|
|
# its grains to see if they have changed and, if so, to inform the master
|
|
|
|
# of the new grains. This operation is moderately expensive, therefore
|
2013-10-18 21:53:27 +00:00
|
|
|
# care should be taken not to set this value too low.
|
|
|
|
#
|
|
|
|
# Note: This value is expressed in __minutes__!
|
|
|
|
#
|
|
|
|
# A value of 10 minutes is a reasonable default.
|
2013-10-18 18:56:54 +00:00
|
|
|
#
|
|
|
|
# If the value is set to zero, this check is disabled.
|
2014-01-12 08:10:17 +00:00
|
|
|
#grains_refresh_every: 1
|
2013-10-18 18:56:54 +00:00
|
|
|
|
2014-01-23 21:19:16 +00:00
|
|
|
# Cache grains on the minion. Default is False.
|
2014-09-26 21:38:49 +00:00
|
|
|
#grains_cache: False
|
2014-01-23 21:19:16 +00:00
|
|
|
|
2016-01-18 20:21:32 +00:00
|
|
|
# Cache rendered pillar data on the minion. Default is False.
|
2016-01-21 15:34:58 +00:00
|
|
|
# This may cause 'cachedir'/pillar to contain sensitive data that should be
|
|
|
|
# protected accordingly.
|
2016-01-26 15:14:35 +00:00
|
|
|
#minion_pillar_cache: False
|
2016-01-18 20:21:32 +00:00
|
|
|
|
2014-01-23 21:19:16 +00:00
|
|
|
# Grains cache expiration, in seconds. If the cache file is older than this
|
|
|
|
# number of seconds then the grains cache will be dumped and fully re-populated
|
2016-05-26 13:53:43 +00:00
|
|
|
# with fresh data. Defaults to 5 minutes. Will have no effect if 'grains_cache'
|
2014-01-23 21:19:16 +00:00
|
|
|
# is not enabled.
|
|
|
|
# grains_cache_expiration: 300
|
|
|
|
|
2016-05-16 20:51:13 +00:00
|
|
|
# Determines whether or not the salt minion should run scheduled mine updates.
|
2016-05-20 20:48:40 +00:00
|
|
|
# Defaults to "True". Set to "False" to disable the scheduled mine updates
|
|
|
|
# (this essentially just does not add the mine update function to the minion's
|
|
|
|
# scheduler).
|
2016-05-16 20:51:13 +00:00
|
|
|
#mine_enabled: True
|
|
|
|
|
|
|
|
# Determines whether or not scheduled mine updates should be accompanied by a job
|
|
|
|
# return for the job cache. Defaults to "False". Set to "True" to include job
|
|
|
|
# returns in the job cache for mine updates.
|
|
|
|
#mine_return_job: False
|
|
|
|
|
2016-05-20 20:48:40 +00:00
|
|
|
# Example functions that can be run via the mine facility
|
|
|
|
# NO mine functions are established by default.
|
|
|
|
# Note these can be defined in the minion's pillar as well.
|
|
|
|
#mine_functions:
|
|
|
|
# test.ping: []
|
|
|
|
# network.ip_addrs:
|
|
|
|
# interface: eth0
|
|
|
|
# cidr: '10.0.0.0/8'
|
|
|
|
|
2017-09-01 21:13:20 +00:00
|
|
|
# The number of minutes between mine updates.
|
2017-06-15 22:21:47 +00:00
|
|
|
#mine_interval: 60
|
|
|
|
|
2012-09-24 05:40:33 +00:00
|
|
|
# Windows platforms lack posix IPC and must rely on slower TCP based inter-
|
|
|
|
# process communications. Set ipc_mode to 'tcp' on such systems
|
|
|
|
#ipc_mode: ipc
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2012-09-25 04:29:20 +00:00
|
|
|
# Overwrite the default tcp ports used by the minion when in tcp mode
|
2012-09-24 05:55:28 +00:00
|
|
|
#tcp_pub_port: 4510
|
|
|
|
#tcp_pull_port: 4511
|
2012-07-26 01:42:20 +00:00
|
|
|
|
2014-04-22 22:13:45 +00:00
|
|
|
# Passing very large events can cause the minion to consume large amounts of
|
|
|
|
# memory. This value tunes the maximum size of a message allowed onto the
|
|
|
|
# minion event bus. The value is expressed in bytes.
|
2014-04-29 21:37:25 +00:00
|
|
|
#max_event_size: 1048576
|
2014-04-22 22:13:45 +00:00
|
|
|
|
2014-10-23 17:42:13 +00:00
|
|
|
# To detect failed master(s) and fire events on connect/disconnect, set
|
|
|
|
# master_alive_interval to the number of seconds to poll the masters for
|
|
|
|
# connection events.
|
|
|
|
#
|
|
|
|
#master_alive_interval: 30
|
|
|
|
|
2012-06-26 19:53:27 +00:00
|
|
|
# The minion can include configuration from other files. To enable this,
|
|
|
|
# pass a list of paths to this option. The paths can be either relative or
|
|
|
|
# absolute; if relative, they are considered to be relative to the directory
|
|
|
|
# the main minion configuration file lives in (this file). Paths can make use
|
|
|
|
# of shell-style globbing. If no files are matched by a path passed to this
|
|
|
|
# option then the minion will log a warning message.
|
2012-07-26 01:42:20 +00:00
|
|
|
#
|
2012-06-26 19:53:27 +00:00
|
|
|
# Include a config file from some other path:
|
2012-09-25 04:29:20 +00:00
|
|
|
# include: /etc/salt/extra_config
|
2012-06-26 19:53:27 +00:00
|
|
|
#
|
|
|
|
# Include config from several files and directories:
|
2013-09-13 21:32:21 +00:00
|
|
|
#include:
|
2012-09-25 04:29:20 +00:00
|
|
|
# - /etc/salt/extra_config
|
|
|
|
# - /etc/roles/webserver
|
2016-05-24 22:10:43 +00:00
|
|
|
|
|
|
|
# The syndic minion can verify that it is talking to the correct master via the
|
|
|
|
# key fingerprint of the higher-level master with the "syndic_finger" config.
|
|
|
|
#syndic_finger: ''
|
2015-03-24 18:10:01 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2011-03-29 05:10:49 +00:00
|
|
|
##### Minion module management #####
|
|
|
|
##########################################
|
2012-02-04 05:10:29 +00:00
|
|
|
# Disable specific modules. This allows the admin to limit the level of
|
2016-09-01 15:40:36 +00:00
|
|
|
# access the master has to the minion. The default here is the empty list,
|
|
|
|
# below is an example of how this needs to be formatted in the config file
|
|
|
|
#disable_modules:
|
|
|
|
# - cmdmod
|
|
|
|
# - test
|
2011-05-14 04:07:27 +00:00
|
|
|
#disable_returners: []
|
2016-09-01 15:40:36 +00:00
|
|
|
|
|
|
|
# This is the reverse of disable_modules. The default, like disable_modules, is the empty list,
|
|
|
|
# but if this option is set to *anything* then *only* those modules will load.
|
|
|
|
# Note that this is a very large hammer and it can be quite difficult to keep the minion working
|
|
|
|
# the way you think it should since Salt uses many modules internally itself. At a bare minimum
|
|
|
|
# you need the following enabled or else the minion won't start.
|
2016-09-05 23:30:59 +00:00
|
|
|
#whitelist_modules:
|
2016-09-01 15:40:36 +00:00
|
|
|
# - cmdmod
|
|
|
|
# - test
|
|
|
|
# - config
|
|
|
|
|
2012-02-04 05:10:29 +00:00
|
|
|
# Modules can be loaded from arbitrary paths. This enables the easy deployment
|
|
|
|
# of third party modules. Modules for returners and minions can be loaded.
|
2011-04-22 14:52:55 +00:00
|
|
|
# Specify a list of extra directories to search for minion modules and
|
|
|
|
# returners. These paths must be fully qualified!
|
|
|
|
#module_dirs: []
|
|
|
|
#returner_dirs: []
|
2011-05-10 20:14:10 +00:00
|
|
|
#states_dirs: []
|
|
|
|
#render_dirs: []
|
2014-05-16 18:59:50 +00:00
|
|
|
#utils_dirs: []
|
2012-02-04 05:10:29 +00:00
|
|
|
#
|
2012-03-14 21:11:11 +00:00
|
|
|
# A module provider can be statically overwritten or extended for the minion
|
|
|
|
# via the providers option, in this case the default module will be
|
|
|
|
# overwritten by the specified module. In this example the pkg module will
|
|
|
|
# be provided by the yumpkg5 module instead of the system default.
|
2013-09-13 21:32:21 +00:00
|
|
|
#providers:
|
|
|
|
# pkg: yumpkg5
|
2012-03-14 21:11:11 +00:00
|
|
|
#
|
2011-09-14 23:14:56 +00:00
|
|
|
# Enable Cython modules searching and loading. (Default: False)
|
|
|
|
#cython_enable: False
|
2012-09-24 05:40:33 +00:00
|
|
|
#
|
2014-09-26 21:38:49 +00:00
|
|
|
# Specify a max size (in bytes) for modules on import. This feature is currently
|
|
|
|
# only supported on *nix operating systems and requires psutil.
|
2013-09-26 23:32:33 +00:00
|
|
|
# modules_max_memory: -1
|
|
|
|
|
|
|
|
|
2011-05-17 04:37:54 +00:00
|
|
|
##### State Management Settings #####
|
|
|
|
###########################################
|
|
|
|
# The state management system executes all of the state templates on the minion
|
|
|
|
# to enable more granular control of system state management. The type of
|
|
|
|
# template and serialization used for state management needs to be configured
|
|
|
|
# on the minion, the default renderer is yaml_jinja. This is a yaml file
|
|
|
|
# rendered from a jinja template, the available options are:
|
|
|
|
# yaml_jinja
|
|
|
|
# yaml_mako
|
2012-10-16 16:11:37 +00:00
|
|
|
# yaml_wempy
|
2011-05-17 04:37:54 +00:00
|
|
|
# json_jinja
|
|
|
|
# json_mako
|
2012-10-16 16:11:37 +00:00
|
|
|
# json_wempy
|
2011-05-17 04:37:54 +00:00
|
|
|
#
|
|
|
|
#renderer: yaml_jinja
|
2011-05-23 03:06:26 +00:00
|
|
|
#
|
2012-09-24 05:40:33 +00:00
|
|
|
# The failhard option tells the minions to stop immediately after the first
|
2014-09-26 21:38:49 +00:00
|
|
|
# failure detected in the state execution. Defaults to False.
|
2012-09-24 05:40:33 +00:00
|
|
|
#failhard: False
|
|
|
|
#
|
2015-04-03 23:17:06 +00:00
|
|
|
# Reload the modules prior to a highstate run.
|
2012-01-13 22:29:24 +00:00
|
|
|
#autoload_dynamic_modules: True
|
|
|
|
#
|
|
|
|
# clean_dynamic_modules keeps the dynamic modules on the minion in sync with
|
|
|
|
# the dynamic modules on the master, this means that if a dynamic module is
|
2014-09-26 21:38:49 +00:00
|
|
|
# not on the master it will be deleted from the minion. By default, this is
|
|
|
|
# enabled and can be disabled by changing this value to False.
|
2012-01-13 22:29:24 +00:00
|
|
|
#clean_dynamic_modules: True
|
2012-02-01 05:21:06 +00:00
|
|
|
#
|
2014-09-26 21:38:49 +00:00
|
|
|
# Normally, the minion is not isolated to any single environment on the master
|
2012-02-01 05:21:06 +00:00
|
|
|
# when running states, but the environment can be isolated on the minion side
|
|
|
|
# by statically setting it. Remember that the recommended way to manage
|
2012-06-07 21:18:03 +00:00
|
|
|
# environments is to isolate via the top file.
|
2012-02-01 05:21:06 +00:00
|
|
|
#environment: None
|
2012-03-05 05:15:06 +00:00
|
|
|
#
|
2016-02-24 23:56:52 +00:00
|
|
|
# Isolates the pillar environment on the minion side. This functions the same
|
|
|
|
# as the environment setting, but for pillar instead of states.
|
|
|
|
#pillarenv: None
|
|
|
|
#
|
2016-12-25 17:36:40 +00:00
|
|
|
# Set this option to True to force the pillarenv to be the same as the
|
|
|
|
# effective saltenv when running states. Note that if pillarenv is specified,
|
|
|
|
# this option will be ignored.
|
|
|
|
#pillarenv_from_saltenv: False
|
|
|
|
#
|
2016-08-16 20:57:58 +00:00
|
|
|
# Set this option to 'True' to force a 'KeyError' to be raised whenever an
|
|
|
|
# attempt to retrieve a named value from pillar fails. When this option is set
|
|
|
|
# to 'False', the failed attempt returns an empty string. Default is 'False'.
|
|
|
|
#pillar_raise_on_missing: False
|
|
|
|
#
|
2012-03-05 05:15:06 +00:00
|
|
|
# If using the local file directory, then the state top file name needs to be
|
|
|
|
# defined, by default this is top.sls.
|
|
|
|
#state_top: top.sls
|
2012-09-24 05:40:33 +00:00
|
|
|
#
|
|
|
|
# Run states when the minion daemon starts. To enable, set startup_states to:
|
|
|
|
# 'highstate' -- Execute state.highstate
|
|
|
|
# 'sls' -- Read in the sls_list option and execute the named sls files
|
2013-02-25 18:45:42 +00:00
|
|
|
# 'top' -- Read top_file option and execute based on that file on the Master
|
2012-09-25 04:29:20 +00:00
|
|
|
#startup_states: ''
|
2012-09-24 05:40:33 +00:00
|
|
|
#
|
2014-09-26 21:38:49 +00:00
|
|
|
# List of states to run when the minion starts up if startup_states is 'sls':
|
2013-02-25 18:45:42 +00:00
|
|
|
#sls_list:
|
2012-09-24 05:40:33 +00:00
|
|
|
# - edit.vim
|
|
|
|
# - hyper
|
|
|
|
#
|
2014-09-26 21:38:49 +00:00
|
|
|
# Top file to execute if startup_states is 'top':
|
2012-09-25 04:29:20 +00:00
|
|
|
#top_file: ''
|
2011-05-17 04:37:54 +00:00
|
|
|
|
2014-12-02 22:22:41 +00:00
|
|
|
# Automatically aggregate all states that have support for mod_aggregate by
|
|
|
|
# setting to True. Or pass a list of state module names to automatically
|
|
|
|
# aggregate just those types.
|
|
|
|
#
|
|
|
|
# state_aggregate:
|
|
|
|
# - pkg
|
|
|
|
#
|
|
|
|
#state_aggregate: False
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2012-03-05 04:59:39 +00:00
|
|
|
##### 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
|
2012-06-07 21:18:03 +00:00
|
|
|
# copied completely onto the minion. This is a literal copy of the settings on
|
2012-03-05 04:59:39 +00:00
|
|
|
# the master but used to reference a local directory on the minion.
|
|
|
|
|
2013-08-03 23:51:37 +00:00
|
|
|
# Set the file client. The client defaults to looking on the master server for
|
2012-06-30 22:40:03 +00:00
|
|
|
# files, but can be directed to look at the local file directory setting
|
2015-10-19 19:56:37 +00:00
|
|
|
# defined below by setting it to "local". Setting a local file_client runs the
|
|
|
|
# minion in masterless mode.
|
2012-03-05 04:59:39 +00:00
|
|
|
#file_client: remote
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
# Example:
|
|
|
|
# file_roots:
|
|
|
|
# base:
|
|
|
|
# - /srv/salt/
|
|
|
|
# dev:
|
|
|
|
# - /srv/salt/dev/services
|
|
|
|
# - /srv/salt/dev/states
|
|
|
|
# prod:
|
|
|
|
# - /srv/salt/prod/services
|
|
|
|
# - /srv/salt/prod/states
|
|
|
|
#
|
|
|
|
#file_roots:
|
|
|
|
# base:
|
|
|
|
# - /srv/salt
|
|
|
|
|
[develop] Merge forward from 2016.3 to develop (#32494)
* fix sorting by latest version when called with an attribute
* remove reference to master_alive_check
* Fixes saltstack/salt#28262
* Resolve memory leak in authentication
* outputter virt_list does not exist anymore
* Update proxmox documentation
* Fix documentation on boto_asg and boto_elb modules and states
* modules.win_timezone: don't list all zones in debug log
* Correcty index glusterfs bricks
Fixes issue #32311
* Cleaner deprecation process with decorators
* Add deprecation decorator scaffold
* Capture type error and unhandled exceptions while function calls
* Aware of the current and future version of deprecation
* Implement initially is_deprecated decorator
* Add an alias for the capitalization
* Fix capitalization easier way
* Remove an extra line
* Add successor name to the deprecation decorator.
* Granulate logging and error messages.
* Implement function swapper
* Raise later the caught exception
* Clarify exception message
* Save function original name
* Remove an extra line
* Hide an alternative hidden function name in the error message, preserving the error itself
* Rename variable as private
* Add a method to detect if a function is using its previous version
* Message to the log and/or raise an exception accordingly to the status of used function
* Log an error along with the exception
* Add internal method documentation
* Add documentation and usage process for decorator "is_deprecated"
* Add documentation and process usage for the decorator "with_deprecated"
* Hide private method name
* Fix PEP8, re-word the error message
* Deprecate basic uptime function
* Add initial decorator unit test
* Rename old/new functions, mock versions
* Move frequent data to the test setup
* Add logging on EOL exception
* Rename and document high to low version test on is_deprecated
* Implement a test on low to high version of is_deprecated decorator
* Add a correction to the test description
* Remove a dead code
* Implement a test for high to low version on is_deprecated, using with_successor param
* Correct typso adn mistaeks
* Implement high to low version with successor param on is_deprecated
* Setup a virtual name for the module
* Implement test for with_deprecated should raise an exception if same deprecated function not found
* Implement test for with_deprecated an old function is picked up if configured
* Correct test description purpose
* Implement test with_deprecated when no deprecation is requested
* Add logging test to the configured deprecation request
* Add logging testing when deprecated version wasn't requested
* Implement test EOL for with_deprecated decorator
* Correct test explanation
* Rename the test
* Implement with_deprecated no EOL, deprecated other function name
* Implement with_deprecated, deprecated other function name, EOL reached
* Add test description for the with_deprecated + with_name + EOL
* Fix confusing test names
* Add logging test to the is_deprecated decorator when function as not found.
* Add more test point to each test, remove empty lines
* Bugfix: at certain conditions a wrong alias name is reported to the log
* Fix a typo in a comment
* Add test for the logging
* Disable a pylint: None will _never_ be raised
* Fix test for the deprecated "status.uptime" version
* Bugfix: Do not yank raised exceptions
* Remove unnecessary decorator
* Add test for the new uptime
* Add test for the new uptime fails when /proc/uptime does not exists
* Rename old test case
* Skip test for the UTC time, unless freeze time is used.
* Fix pylint
* Fix documentation
* Bugfix: proxy-pass the docstring of the decorated function
* Lint fix
* Fixes saltstack/salt#28262 for 2015.5 branch
* Update master config docs
* Improve git_pillar documentation/logging
* Add note about different behavior of top file in git_pillar
* Make log entry for a missing pillar SLS file more accurate for git_pillar
* FreeBSD supports packages in format java/openjdk7 so the prior commit broke that functionality. Check freebsd/pkg#1409 for more info.
* FreeBSD supports packages in format java/openjdk7 so the prior commit broke that functionality. Check freebsd/pkg#1409 for more info.
* Update glusterfs_test to be inline with #32312
* Fix salt-cloud paralell provisioning
Closes #31632
* Ignore Raspbian in service.py __virtual__ (#32421)
* Ignore Raspbian in service.py __virtual__
This prevents more than one execution module from trying to load as the
service virtual module.
Refs: #32413
* pack __salt__ before loading provider overrides
We can (and should) pack here since we're just packing a reference to the
object. __salt__ needs to be available when we're loading our provider
overrides
* Fix broken __salt__ dict in provider override
Using ret.items() here sets ``__salt__`` to its items (tuple containing
function name and reference), breaking usage of ``__salt__`` inside
overridden functions.
* Merge #32293 with test fixes (#32418)
* Fix issue #11497
* Remove check for working directory presence in tests
* Fix Domainname introspection
Default value needs to be extracted from the container itself,
because dockerd set Domainname value when network_mode=host.
* Add pgjsonb_queue to queue doc index
* Pylint fixes
* Pass parser options into batch mode
Resolves #31738
* Changed the target file in file.symlink test (#32443)
* Argument name in docs should match actual arg name (#32445)
Fixes #31851
* tests.integration: bypass MacOS TMPDIR, gettempdir (#32447)
Updates 0edd532, 8f558a5.
When logging in as root over `ssh root@host`, `$TMPDIR` and
`tempfile.gettempdir()` are both set to a variation of:
```
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/
```
When logging in as root over `sudo -i`, `$TMPDIR` is unset and
`tempfile.gettempdir()` is set to `/tmp`.
My guess is that the second case is an unintended or uncorrected omision
by Apple as they have introduced the longer, randomized temp path in a
recent version of MacOS.
* Issue #28706: Fix state user.present behavior. (#32448)
- As mentionned in issue #28706, state user.present no longer remove
user from groups if the keyword 'groups' with empty value '[]' is not
explicitly set, salt will assume current groups are still wanted.
* tests.integration: fix 4230c8a
* Move the tables of virtual modules to individual documentation pages
* Add new doc pages to toctree
* Add external ref to windows package manager docs
* Improve docstrings
* Add documentation on virtual module provider overrides to the module docs
* Clarify the scope of the provider param in states.
* Add link to provider override docs to all package providers
* Add link to provider override docs to all service providers
* Add link to provider override docs to all user providers
* dd link to provider override docs to all shadow providers
* Add link to provider override docs to all group providers
* Backport 31164 and 31364 (#32474)
* Don't send REQ while another one is waiting for response.
The message has to be removed from the queue the only *after* it's
already processed to don't confuse send() functionality that expects
empty queue means: there's no active sendings.
* Fixed zeromq ReqMessageClient destroy
* Add link to provider override docs to opkg.py
This is a companion to https://github.com/saltstack/salt/pull/32458, but
this module was not added until the 2016.3 branch, so the documentation
is being updated there for this module.
* Add documentation for some master/minion configs (#32454)
Refs #32400
Adds docs for:
- cli_summary
- event_return_queue
- event_return_whitelist
- event_return_blacklist
- file_recv_max_size
- fileserver_followsymlinks
- fileserver_ignoresymlinks
- fileserver_limit_traversal
* Automatically detect correct MySQL password column for 5.7 and fix setting passwords (#32440)
* Automatically detect MySQL password column
* Fix changing password in MySQL 5.7
* Fix lint test
* Fix unit tests (?)
They will still fail if "authentication_string" is legitimately the right column name, but I don't know what to do about that.
* Additional unit test fix
* Only unsub if we have a jid
Closes #32479
2016-04-11 23:07:15 +00:00
|
|
|
# Uncomment the line below if you do not want the file_server to follow
|
|
|
|
# symlinks when walking the filesystem tree. This is set to True
|
|
|
|
# by default. Currently this only applies to the default roots
|
|
|
|
# fileserver_backend.
|
|
|
|
#fileserver_followsymlinks: False
|
|
|
|
#
|
|
|
|
# Uncomment the line below if you do not want symlinks to be
|
|
|
|
# treated as the files they are pointing to. By default this is set to
|
|
|
|
# False. By uncommenting the line below, any detected symlink while listing
|
|
|
|
# files on the Master will not be returned to the Minion.
|
|
|
|
#fileserver_ignoresymlinks: True
|
|
|
|
#
|
2013-11-01 15:19:30 +00:00
|
|
|
# By default, the Salt fileserver recurses fully into all defined environments
|
|
|
|
# to attempt to find files. To limit this behavior so that the fileserver only
|
|
|
|
# traverses directories with SLS files and special Salt directories like _modules,
|
|
|
|
# enable the option below. This might be useful for installations where a file root
|
2014-09-26 21:38:49 +00:00
|
|
|
# has a very large number of files and performance is negatively impacted. Default
|
|
|
|
# is False.
|
|
|
|
#fileserver_limit_traversal: False
|
2013-11-01 15:19:30 +00:00
|
|
|
|
2016-03-01 14:58:58 +00:00
|
|
|
# The hash_type is the hash to use when discovering the hash of a file on
|
2017-02-26 22:24:54 +00:00
|
|
|
# the local fileserver. The default is sha256, but md5, sha1, sha224, sha384
|
2016-05-26 14:07:35 +00:00
|
|
|
# and sha512 are also supported.
|
2014-04-07 20:14:19 +00:00
|
|
|
#
|
2017-02-26 22:24:54 +00:00
|
|
|
# WARNING: While md5 and sha1 are also supported, do not use them due to the
|
|
|
|
# high chance of possible collisions and thus security breach.
|
2016-03-01 14:58:58 +00:00
|
|
|
#
|
2014-04-07 20:14:19 +00:00
|
|
|
# Warning: Prior to changing this value, the minion should be stopped and all
|
|
|
|
# Salt caches should be cleared.
|
2016-03-01 14:58:58 +00:00
|
|
|
#hash_type: sha256
|
2012-03-05 04:59:39 +00:00
|
|
|
|
2012-03-08 22:16:19 +00:00
|
|
|
# The Salt pillar is searched for locally if file_client is set to local. If
|
|
|
|
# this is the case, and pillar data is defined, then the pillar_roots need to
|
|
|
|
# also be configured on the minion:
|
|
|
|
#pillar_roots:
|
|
|
|
# base:
|
|
|
|
# - /srv/pillar
|
[develop] Merge forward from 2016.3 to develop (#32494)
* fix sorting by latest version when called with an attribute
* remove reference to master_alive_check
* Fixes saltstack/salt#28262
* Resolve memory leak in authentication
* outputter virt_list does not exist anymore
* Update proxmox documentation
* Fix documentation on boto_asg and boto_elb modules and states
* modules.win_timezone: don't list all zones in debug log
* Correcty index glusterfs bricks
Fixes issue #32311
* Cleaner deprecation process with decorators
* Add deprecation decorator scaffold
* Capture type error and unhandled exceptions while function calls
* Aware of the current and future version of deprecation
* Implement initially is_deprecated decorator
* Add an alias for the capitalization
* Fix capitalization easier way
* Remove an extra line
* Add successor name to the deprecation decorator.
* Granulate logging and error messages.
* Implement function swapper
* Raise later the caught exception
* Clarify exception message
* Save function original name
* Remove an extra line
* Hide an alternative hidden function name in the error message, preserving the error itself
* Rename variable as private
* Add a method to detect if a function is using its previous version
* Message to the log and/or raise an exception accordingly to the status of used function
* Log an error along with the exception
* Add internal method documentation
* Add documentation and usage process for decorator "is_deprecated"
* Add documentation and process usage for the decorator "with_deprecated"
* Hide private method name
* Fix PEP8, re-word the error message
* Deprecate basic uptime function
* Add initial decorator unit test
* Rename old/new functions, mock versions
* Move frequent data to the test setup
* Add logging on EOL exception
* Rename and document high to low version test on is_deprecated
* Implement a test on low to high version of is_deprecated decorator
* Add a correction to the test description
* Remove a dead code
* Implement a test for high to low version on is_deprecated, using with_successor param
* Correct typso adn mistaeks
* Implement high to low version with successor param on is_deprecated
* Setup a virtual name for the module
* Implement test for with_deprecated should raise an exception if same deprecated function not found
* Implement test for with_deprecated an old function is picked up if configured
* Correct test description purpose
* Implement test with_deprecated when no deprecation is requested
* Add logging test to the configured deprecation request
* Add logging testing when deprecated version wasn't requested
* Implement test EOL for with_deprecated decorator
* Correct test explanation
* Rename the test
* Implement with_deprecated no EOL, deprecated other function name
* Implement with_deprecated, deprecated other function name, EOL reached
* Add test description for the with_deprecated + with_name + EOL
* Fix confusing test names
* Add logging test to the is_deprecated decorator when function as not found.
* Add more test point to each test, remove empty lines
* Bugfix: at certain conditions a wrong alias name is reported to the log
* Fix a typo in a comment
* Add test for the logging
* Disable a pylint: None will _never_ be raised
* Fix test for the deprecated "status.uptime" version
* Bugfix: Do not yank raised exceptions
* Remove unnecessary decorator
* Add test for the new uptime
* Add test for the new uptime fails when /proc/uptime does not exists
* Rename old test case
* Skip test for the UTC time, unless freeze time is used.
* Fix pylint
* Fix documentation
* Bugfix: proxy-pass the docstring of the decorated function
* Lint fix
* Fixes saltstack/salt#28262 for 2015.5 branch
* Update master config docs
* Improve git_pillar documentation/logging
* Add note about different behavior of top file in git_pillar
* Make log entry for a missing pillar SLS file more accurate for git_pillar
* FreeBSD supports packages in format java/openjdk7 so the prior commit broke that functionality. Check freebsd/pkg#1409 for more info.
* FreeBSD supports packages in format java/openjdk7 so the prior commit broke that functionality. Check freebsd/pkg#1409 for more info.
* Update glusterfs_test to be inline with #32312
* Fix salt-cloud paralell provisioning
Closes #31632
* Ignore Raspbian in service.py __virtual__ (#32421)
* Ignore Raspbian in service.py __virtual__
This prevents more than one execution module from trying to load as the
service virtual module.
Refs: #32413
* pack __salt__ before loading provider overrides
We can (and should) pack here since we're just packing a reference to the
object. __salt__ needs to be available when we're loading our provider
overrides
* Fix broken __salt__ dict in provider override
Using ret.items() here sets ``__salt__`` to its items (tuple containing
function name and reference), breaking usage of ``__salt__`` inside
overridden functions.
* Merge #32293 with test fixes (#32418)
* Fix issue #11497
* Remove check for working directory presence in tests
* Fix Domainname introspection
Default value needs to be extracted from the container itself,
because dockerd set Domainname value when network_mode=host.
* Add pgjsonb_queue to queue doc index
* Pylint fixes
* Pass parser options into batch mode
Resolves #31738
* Changed the target file in file.symlink test (#32443)
* Argument name in docs should match actual arg name (#32445)
Fixes #31851
* tests.integration: bypass MacOS TMPDIR, gettempdir (#32447)
Updates 0edd532, 8f558a5.
When logging in as root over `ssh root@host`, `$TMPDIR` and
`tempfile.gettempdir()` are both set to a variation of:
```
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/
```
When logging in as root over `sudo -i`, `$TMPDIR` is unset and
`tempfile.gettempdir()` is set to `/tmp`.
My guess is that the second case is an unintended or uncorrected omision
by Apple as they have introduced the longer, randomized temp path in a
recent version of MacOS.
* Issue #28706: Fix state user.present behavior. (#32448)
- As mentionned in issue #28706, state user.present no longer remove
user from groups if the keyword 'groups' with empty value '[]' is not
explicitly set, salt will assume current groups are still wanted.
* tests.integration: fix 4230c8a
* Move the tables of virtual modules to individual documentation pages
* Add new doc pages to toctree
* Add external ref to windows package manager docs
* Improve docstrings
* Add documentation on virtual module provider overrides to the module docs
* Clarify the scope of the provider param in states.
* Add link to provider override docs to all package providers
* Add link to provider override docs to all service providers
* Add link to provider override docs to all user providers
* dd link to provider override docs to all shadow providers
* Add link to provider override docs to all group providers
* Backport 31164 and 31364 (#32474)
* Don't send REQ while another one is waiting for response.
The message has to be removed from the queue the only *after* it's
already processed to don't confuse send() functionality that expects
empty queue means: there's no active sendings.
* Fixed zeromq ReqMessageClient destroy
* Add link to provider override docs to opkg.py
This is a companion to https://github.com/saltstack/salt/pull/32458, but
this module was not added until the 2016.3 branch, so the documentation
is being updated there for this module.
* Add documentation for some master/minion configs (#32454)
Refs #32400
Adds docs for:
- cli_summary
- event_return_queue
- event_return_whitelist
- event_return_blacklist
- file_recv_max_size
- fileserver_followsymlinks
- fileserver_ignoresymlinks
- fileserver_limit_traversal
* Automatically detect correct MySQL password column for 5.7 and fix setting passwords (#32440)
* Automatically detect MySQL password column
* Fix changing password in MySQL 5.7
* Fix lint test
* Fix unit tests (?)
They will still fail if "authentication_string" is legitimately the right column name, but I don't know what to do about that.
* Additional unit test fix
* Only unsub if we have a jid
Closes #32479
2016-04-11 23:07:15 +00:00
|
|
|
|
|
|
|
# Set a hard-limit on the size of the files that can be pushed to the master.
|
|
|
|
# It will be interpreted as megabytes. Default: 100
|
|
|
|
#file_recv_max_size: 100
|
2015-03-24 18:10:01 +00:00
|
|
|
#
|
|
|
|
#
|
2011-03-29 05:10:49 +00:00
|
|
|
###### Security settings #####
|
|
|
|
###########################################
|
2011-03-10 15:55:48 +00:00
|
|
|
# Enable "open mode", this mode still maintains encryption, but turns off
|
|
|
|
# authentication, this is only intended for highly secure environments or for
|
2011-03-29 05:10:49 +00:00
|
|
|
# the situation where your keys end up in a bad state. If you run in open mode
|
2011-03-10 15:55:48 +00:00
|
|
|
# you do so at your own risk!
|
|
|
|
#open_mode: False
|
2011-03-29 05:10:49 +00:00
|
|
|
|
2017-07-14 23:26:02 +00:00
|
|
|
# The size of key that should be generated when creating new keys.
|
|
|
|
#keysize: 2048
|
|
|
|
|
2012-07-24 21:55:15 +00:00
|
|
|
# Enable permissive access to the salt keys. This allows you to run the
|
|
|
|
# master or minion as root, but have a non-root group be given access to
|
2012-07-26 01:42:20 +00:00
|
|
|
# your pki_dir. To make the access explicit, root must belong to the group
|
2012-07-24 21:55:15 +00:00
|
|
|
# you've given access to. This is potentially quite insecure.
|
|
|
|
#permissive_pki_access: False
|
|
|
|
|
2012-08-18 06:47:49 +00:00
|
|
|
# The state_verbose and state_output settings can be used to change the way
|
|
|
|
# state system data is printed to the display. By default all data is printed.
|
|
|
|
# The state_verbose setting can be set to True or False, when set to False
|
|
|
|
# all data that has a result of True and no changes will be suppressed.
|
|
|
|
#state_verbose: True
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2012-08-18 06:47:49 +00:00
|
|
|
# The state_output setting changes if the output is the full multi line
|
|
|
|
# output for each changed state if set to 'full', but if set to 'terse'
|
|
|
|
# the output will be shortened to a single line.
|
|
|
|
#state_output: full
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2014-06-27 04:01:10 +00:00
|
|
|
# The state_output_diff setting changes whether or not the output from
|
2014-08-11 17:46:43 +00:00
|
|
|
# successful states is returned. Useful when even the terse output of these
|
2014-06-27 04:01:10 +00:00
|
|
|
# states is cluttering the logs. Set it to True to ignore them.
|
|
|
|
#state_output_diff: False
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2015-01-02 14:56:39 +00:00
|
|
|
# The state_output_profile setting changes whether profile information
|
2015-01-02 17:26:12 +00:00
|
|
|
# will be shown for each state run.
|
2015-01-02 17:26:24 +00:00
|
|
|
#state_output_profile: True
|
2015-01-02 14:56:39 +00:00
|
|
|
|
2015-08-07 02:26:02 +00:00
|
|
|
# Fingerprint of the master public key to validate the identity of your Salt master
|
|
|
|
# before the initial key exchange. The master fingerprint can be found by running
|
2016-08-06 15:59:54 +00:00
|
|
|
# "salt-key -f master.pub" on the Salt master.
|
2012-09-25 04:29:20 +00:00
|
|
|
#master_finger: ''
|
2011-03-29 05:10:49 +00:00
|
|
|
|
2016-11-23 16:38:16 +00:00
|
|
|
# Use TLS/SSL encrypted connection between master and minion.
|
|
|
|
# Can be set to a dictionary containing keyword arguments corresponding to Python's
|
|
|
|
# 'ssl.wrap_socket' method.
|
|
|
|
# Default is None.
|
|
|
|
#ssl:
|
|
|
|
# keyfile: <path_to_keyfile>
|
|
|
|
# certfile: <path_to_certfile>
|
|
|
|
# ssl_version: PROTOCOL_TLSv1_2
|
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2017-07-14 23:26:02 +00:00
|
|
|
###### Reactor Settings #####
|
|
|
|
###########################################
|
|
|
|
# Define a salt reactor. See https://docs.saltstack.com/en/latest/topics/reactor/
|
|
|
|
#reactor: []
|
|
|
|
|
|
|
|
#Set the TTL for the cache of the reactor configuration.
|
|
|
|
#reactor_refresh_interval: 60
|
|
|
|
|
|
|
|
#Configure the number of workers for the runner/wheel in the reactor.
|
|
|
|
#reactor_worker_threads: 10
|
|
|
|
|
|
|
|
#Define the queue size for workers in the reactor.
|
|
|
|
#reactor_worker_hwm: 10000
|
|
|
|
|
|
|
|
|
2011-04-11 16:46:26 +00:00
|
|
|
###### Thread settings #####
|
|
|
|
###########################################
|
2011-07-30 02:54:55 +00:00
|
|
|
# Disable multiprocessing support, by default when a minion receives a
|
|
|
|
# publication a new process is spawned and the command is executed therein.
|
2017-02-22 18:44:38 +00:00
|
|
|
#
|
|
|
|
# WARNING: Disabling multiprocessing may result in substantial slowdowns
|
|
|
|
# when processing large pillars. See https://github.com/saltstack/salt/issues/38758
|
|
|
|
# for a full explanation.
|
2011-07-30 02:54:55 +00:00
|
|
|
#multiprocessing: True
|
2011-04-11 16:46:26 +00:00
|
|
|
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2013-01-11 00:51:44 +00:00
|
|
|
##### Logging settings #####
|
|
|
|
##########################################
|
|
|
|
# The location of the minion log file
|
|
|
|
# The minion log can be sent to a regular file, local path name, or network
|
|
|
|
# location. Remote logging works best when configured to use rsyslogd(8) (e.g.:
|
|
|
|
# ``file:///dev/log``), with rsyslogd(8) configured for network logging. The URI
|
|
|
|
# format is: <file|udp|tcp>://<host|socketpath>:<port-if-required>/<log-facility>
|
2013-02-25 18:45:42 +00:00
|
|
|
#log_file: /var/log/salt/minion
|
|
|
|
#log_file: file:///dev/log
|
|
|
|
#log_file: udp://loghost:10514
|
2012-12-03 12:13:32 +00:00
|
|
|
#
|
2011-03-29 05:10:49 +00:00
|
|
|
#log_file: /var/log/salt/minion
|
2013-01-11 00:51:44 +00:00
|
|
|
#key_logfile: /var/log/salt/key
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2012-10-23 16:06:12 +00:00
|
|
|
# The level of messages to send to the console.
|
2012-06-30 22:40:03 +00:00
|
|
|
# One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
|
2015-09-14 21:39:17 +00:00
|
|
|
#
|
|
|
|
# The following log levels are considered INSECURE and may log sensitive data:
|
|
|
|
# ['garbage', 'trace', 'debug']
|
|
|
|
#
|
2011-05-26 10:22:37 +00:00
|
|
|
# Default: 'warning'
|
|
|
|
#log_level: warning
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2012-10-23 16:06:12 +00:00
|
|
|
# The level of messages to send to the log file.
|
|
|
|
# One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
|
2014-12-17 01:18:21 +00:00
|
|
|
# If using 'log_granular_levels' this must be set to the highest desired level.
|
2012-10-23 16:06:12 +00:00
|
|
|
# Default: 'warning'
|
2012-06-30 22:40:03 +00:00
|
|
|
#log_level_logfile:
|
2013-01-11 00:51:44 +00:00
|
|
|
|
2016-02-04 11:45:19 +00:00
|
|
|
# The date and time format used in log messages. Allowed date/time formatting
|
2013-01-11 00:51:44 +00:00
|
|
|
# can be seen here: http://docs.python.org/library/time.html#time.strftime
|
2012-12-18 13:35:13 +00:00
|
|
|
#log_datefmt: '%H:%M:%S'
|
|
|
|
#log_datefmt_logfile: '%Y-%m-%d %H:%M:%S'
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2012-06-30 22:40:03 +00:00
|
|
|
# The format of the console logging messages. Allowed formatting options can
|
2013-02-25 18:45:42 +00:00
|
|
|
# be seen here: http://docs.python.org/library/logging.html#logrecord-attributes
|
2014-12-27 18:34:15 +00:00
|
|
|
#
|
2015-03-26 06:10:55 +00:00
|
|
|
# Console log colors are specified by these additional formatters:
|
|
|
|
#
|
|
|
|
# %(colorlevel)s
|
|
|
|
# %(colorname)s
|
|
|
|
# %(colorprocess)s
|
|
|
|
# %(colormsg)s
|
|
|
|
#
|
|
|
|
# Since it is desirable to include the surrounding brackets, '[' and ']', in
|
|
|
|
# the coloring of the messages, these color formatters also include padding as
|
|
|
|
# well. Color LogRecord attributes are only available for console logging.
|
|
|
|
#
|
2015-07-28 21:54:10 +00:00
|
|
|
#log_fmt_console: '%(colorlevel)s %(colormsg)s'
|
2012-06-30 22:40:03 +00:00
|
|
|
#log_fmt_console: '[%(levelname)-8s] %(message)s'
|
2015-07-28 21:54:10 +00:00
|
|
|
#
|
2016-06-02 15:38:31 +00:00
|
|
|
#log_fmt_logfile: '%(asctime)s,%(msecs)03d [%(name)-17s][%(levelname)-8s] %(message)s'
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2013-01-11 00:51:44 +00:00
|
|
|
# This can be used to control logging levels more specificically. This
|
2013-02-25 18:45:42 +00:00
|
|
|
# example sets the main salt library at the 'warning' level, but sets
|
2013-01-11 00:51:44 +00:00
|
|
|
# 'salt.modules' to log at the 'debug' level:
|
|
|
|
# log_granular_levels:
|
2014-12-17 01:11:04 +00:00
|
|
|
# 'salt': 'warning'
|
2011-05-26 10:22:37 +00:00
|
|
|
# 'salt.modules': 'debug'
|
|
|
|
#
|
|
|
|
#log_granular_levels: {}
|
2011-03-25 03:53:47 +00:00
|
|
|
|
2015-02-17 22:12:13 +00:00
|
|
|
# To diagnose issues with minions disconnecting or missing returns, ZeroMQ
|
2016-01-07 21:26:33 +00:00
|
|
|
# supports the use of monitor sockets to log connection events. This
|
2015-02-17 22:12:13 +00:00
|
|
|
# feature requires ZeroMQ 4.0 or higher.
|
|
|
|
#
|
|
|
|
# To enable ZeroMQ monitor sockets, set 'zmq_monitor' to 'True' and log at a
|
|
|
|
# debug level or higher.
|
|
|
|
#
|
|
|
|
# A sample log event is as follows:
|
|
|
|
#
|
|
|
|
# [DEBUG ] ZeroMQ event: {'endpoint': 'tcp://127.0.0.1:4505', 'event': 512,
|
|
|
|
# 'value': 27, 'description': 'EVENT_DISCONNECTED'}
|
|
|
|
#
|
|
|
|
# All events logged will include the string 'ZeroMQ event'. A connection event
|
2016-01-07 21:26:33 +00:00
|
|
|
# should be logged as the minion starts up and initially connects to the
|
2015-02-17 22:12:13 +00:00
|
|
|
# master. If not, check for debug log level and that the necessary version of
|
|
|
|
# ZeroMQ is installed.
|
|
|
|
#
|
|
|
|
#zmq_monitor: False
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2017-04-10 20:42:40 +00:00
|
|
|
# Number of times to try to authenticate with the salt master when reconnecting
|
|
|
|
# to the master
|
|
|
|
#tcp_authentication_retries: 5
|
|
|
|
|
2011-04-07 17:33:48 +00:00
|
|
|
###### Module configuration #####
|
|
|
|
###########################################
|
2011-05-26 10:22:37 +00:00
|
|
|
# Salt allows for modules to be passed arbitrary configuration data, any data
|
2011-04-07 17:33:48 +00:00
|
|
|
# passed here in valid yaml format will be passed on to the salt minion modules
|
2011-05-26 10:22:37 +00:00
|
|
|
# for use. It is STRONGLY recommended that a naming convention be used in which
|
2011-04-07 17:33:48 +00:00
|
|
|
# the module name is followed by a . and then the value. Also, all top level
|
2012-02-04 05:10:29 +00:00
|
|
|
# data must be applied via the yaml dict construct, some examples:
|
2011-04-07 17:33:48 +00:00
|
|
|
#
|
2012-09-12 19:11:25 +00:00
|
|
|
# You can specify that all modules should run in test mode:
|
|
|
|
#test: True
|
|
|
|
#
|
2011-04-07 17:33:48 +00:00
|
|
|
# A simple value for the test module:
|
|
|
|
#test.foo: foo
|
|
|
|
#
|
|
|
|
# A list for the test module:
|
|
|
|
#test.bar: [baz,quo]
|
|
|
|
#
|
2011-05-26 10:22:37 +00:00
|
|
|
# A dict for the test module:
|
2011-04-07 17:33:48 +00:00
|
|
|
#test.baz: {spam: sausage, cheese: bread}
|
2015-03-24 18:10:01 +00:00
|
|
|
#
|
|
|
|
#
|
2012-09-12 03:44:00 +00:00
|
|
|
###### Update settings ######
|
|
|
|
###########################################
|
|
|
|
# Using the features in Esky, a salt minion can both run as a frozen app and
|
|
|
|
# be updated on the fly. These options control how the update process
|
|
|
|
# (saltutil.update()) behaves.
|
|
|
|
#
|
|
|
|
# The url for finding and downloading updates. Disabled by default.
|
|
|
|
#update_url: False
|
|
|
|
#
|
|
|
|
# The list of services to restart after a successful update. Empty by default.
|
|
|
|
#update_restart_services: []
|
2012-12-24 02:45:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
###### Keepalive settings ######
|
|
|
|
############################################
|
|
|
|
# ZeroMQ now includes support for configuring SO_KEEPALIVE if supported by
|
|
|
|
# the OS. If connections between the minion and the master pass through
|
|
|
|
# a state tracking device such as a firewall or VPN gateway, there is
|
|
|
|
# the risk that it could tear down the connection the master and minion
|
|
|
|
# without informing either party that their connection has been taken away.
|
|
|
|
# Enabling TCP Keepalives prevents this from happening.
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2013-02-25 18:45:42 +00:00
|
|
|
# Overall state of TCP Keepalives, enable (1 or True), disable (0 or False)
|
2013-05-10 00:06:29 +00:00
|
|
|
# or leave to the OS defaults (-1), on Linux, typically disabled. Default True, enabled.
|
2012-12-24 02:45:02 +00:00
|
|
|
#tcp_keepalive: True
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2012-12-24 02:57:02 +00:00
|
|
|
# How long before the first keepalive should be sent in seconds. Default 300
|
2013-02-25 18:45:42 +00:00
|
|
|
# to send the first keepalive after 5 minutes, OS default (-1) is typically 7200 seconds
|
2012-12-24 02:57:02 +00:00
|
|
|
# on Linux see /proc/sys/net/ipv4/tcp_keepalive_time.
|
|
|
|
#tcp_keepalive_idle: 300
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2012-12-24 02:45:02 +00:00
|
|
|
# How many lost probes are needed to consider the connection lost. Default -1
|
|
|
|
# to use OS defaults, typically 9 on Linux, see /proc/sys/net/ipv4/tcp_keepalive_probes.
|
|
|
|
#tcp_keepalive_cnt: -1
|
2014-09-26 21:38:49 +00:00
|
|
|
|
2013-02-25 18:45:42 +00:00
|
|
|
# How often, in seconds, to send keepalives after the first one. Default -1 to
|
|
|
|
# use OS defaults, typically 75 seconds on Linux, see
|
2012-12-24 02:45:02 +00:00
|
|
|
# /proc/sys/net/ipv4/tcp_keepalive_intvl.
|
|
|
|
#tcp_keepalive_intvl: -1
|
|
|
|
|
2012-12-31 18:23:37 +00:00
|
|
|
|
2015-06-30 07:25:09 +00:00
|
|
|
###### Windows Software settings ######
|
2012-12-31 18:23:37 +00:00
|
|
|
############################################
|
2014-09-26 21:38:49 +00:00
|
|
|
# Location of the repository cache file on the master:
|
2013-09-13 21:32:21 +00:00
|
|
|
#win_repo_cachefile: 'salt://win/repo/winrepo.p'
|
2014-12-03 16:12:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
###### Returner settings ######
|
|
|
|
############################################
|
2016-12-13 02:33:53 +00:00
|
|
|
# Default Minion returners. Can be a comma delimited string or a list:
|
|
|
|
#
|
2014-12-03 16:12:37 +00:00
|
|
|
#return: mysql
|
2016-12-13 02:33:53 +00:00
|
|
|
#
|
|
|
|
#return: mysql,slack,redis
|
|
|
|
#
|
|
|
|
#return:
|
|
|
|
# - mysql
|
|
|
|
# - hipchat
|
|
|
|
# - slack
|
2015-10-22 04:15:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
###### Miscellaneous settings ######
|
|
|
|
############################################
|
|
|
|
# Default match type for filtering events tags: startswith, endswith, find, regex, fnmatch
|
|
|
|
#event_match_type: startswith
|