mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #2056 from seanchannel/develop
add backup_mode to minion config and config reference
This commit is contained in:
commit
f1972b2624
@ -49,6 +49,19 @@
|
||||
# set cache_jobs to True
|
||||
#cache_jobs: False
|
||||
|
||||
# Backup files that are replaced by file.managed and file.recurse under
|
||||
# 'cachedir'/file_backups relative to their original location and appended
|
||||
# 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
|
||||
# - backup: minion
|
||||
#
|
||||
#backup_mode: minion
|
||||
|
||||
# When waiting for a master to accept the minion's public key, salt will
|
||||
# continuously attempt to reconnect until successful. This is the time, in
|
||||
# seconds, between those reconnection attempts.
|
||||
|
@ -112,6 +112,19 @@ The location for minion cache data.
|
||||
|
||||
cachedir: /var/cache/salt
|
||||
|
||||
.. conf_minion:: cachedir
|
||||
|
||||
``backup_mode``
|
||||
---------------
|
||||
|
||||
Default: ``[]``
|
||||
|
||||
Backup files replaced by file.managed and file.recurse under cachedir.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
backup_mode: minion
|
||||
|
||||
.. conf_minion:: cache_jobs
|
||||
|
||||
``cache_jobs``
|
||||
|
Loading…
Reference in New Issue
Block a user