syndic_master: correct default value, documentation and example config

This commit is contained in:
Denys Havrysh 2016-11-30 12:32:36 +02:00
parent 92a7c7ed1b
commit 7d9bc9abce
3 changed files with 8 additions and 5 deletions

View file

@ -798,7 +798,7 @@
# If this master will be running a salt syndic daemon, syndic_master tells
# this master where to receive commands from.
#syndic_master: masterofmaster
#syndic_master: masterofmasters
# This is the 'ret_port' of the MasterOfMaster:
#syndic_master_port: 4506

View file

@ -41,7 +41,7 @@ The local interface to bind to.
Default: ``False``
Whether the master should listen for IPv6 connections. If this is set to True,
the interface option must be adjusted too (for example: "interface: '::'")
the interface option must be adjusted too (for example: ``interface: '::'``)
.. code-block:: yaml
@ -1558,7 +1558,6 @@ directories above the one specified will be ignored and the relative path will
gitfs_root: somefolder/otherfolder
.. versionchanged:: 2014.7.0
Ability to specify gitfs roots on a per-remote basis was added. See
:ref:`here <gitfs-per-remote-config>` for more info.
@ -2888,7 +2887,11 @@ value must be set to True
``syndic_master``
-----------------
Default: ``''``
.. versionchanged:: 2016.3.5,2016.11.1
Set default higher level master address.
Default: ``masterofmasters``
If this master will be running the ``salt-syndic`` to connect to a higher level
master, specify the higher level master with this configuration value.

View file

@ -1190,7 +1190,7 @@ DEFAULT_MASTER_OPTS = {
'ping_on_rotate': False,
'peer': {},
'preserve_minion_cache': False,
'syndic_master': 'salt',
'syndic_master': 'masterofmasters',
'syndic_failover': 'random',
'syndic_log_file': os.path.join(salt.syspaths.LOGS_DIR, 'syndic'),
'syndic_pidfile': os.path.join(salt.syspaths.PIDFILE_DIR, 'salt-syndic.pid'),