mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix configuration example and documentation for syndic_log_file
option
This commit is contained in:
parent
e64dd3ed6b
commit
c8a0915460
2 changed files with 20 additions and 19 deletions
|
@ -803,8 +803,8 @@
|
|||
# PID file of the syndic daemon:
|
||||
#syndic_pidfile: /var/run/salt-syndic.pid
|
||||
|
||||
# LOG file of the syndic daemon:
|
||||
#syndic_log_file: syndic.log
|
||||
# The log file of the salt-syndic daemon:
|
||||
#syndic_log_file: /var/log/salt/syndic
|
||||
|
||||
# The behaviour of the multi-syndic when connection to a master of masters failed.
|
||||
# Can specify ``random`` (default) or ``ordered``. If set to ``random``, masters
|
||||
|
|
|
@ -2842,15 +2842,16 @@ can be utilized:
|
|||
Syndic Server Settings
|
||||
======================
|
||||
|
||||
A Salt syndic is a Salt master used to pass commands from a higher Salt master to
|
||||
minions below the syndic. Using the syndic is simple. If this is a master that
|
||||
will have syndic servers(s) below it, set the "order_masters" setting to True.
|
||||
A Salt syndic is a Salt master used to pass commands from a higher Salt master
|
||||
to minions below the syndic. Using the syndic is simple. If this is a master
|
||||
that will have syndic servers(s) below it, set the ``order_masters`` setting to
|
||||
``True``.
|
||||
|
||||
If this is a master that will be running a syndic daemon for passthrough the
|
||||
"syndic_master" setting needs to be set to the location of the master server.
|
||||
``syndic_master`` setting needs to be set to the location of the master server.
|
||||
|
||||
Do not not forget that, in other words, it means that it shares with the local minion
|
||||
its ID and PKI_DIR.
|
||||
Do not forget that, in other words, it means that it shares with the local minion
|
||||
its ID and PKI directory.
|
||||
|
||||
.. conf_master:: order_masters
|
||||
|
||||
|
@ -2874,7 +2875,7 @@ value must be set to True
|
|||
|
||||
Default: ``''``
|
||||
|
||||
If this master will be running a salt-syndic to connect to a higher level
|
||||
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.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
@ -2882,7 +2883,7 @@ master, specify the higher level master with this configuration value.
|
|||
syndic_master: masterofmasters
|
||||
|
||||
You can optionally connect a syndic to multiple higher level masters by
|
||||
setting the 'syndic_master' value to a list:
|
||||
setting the ``syndic_master`` value to a list:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
@ -2890,7 +2891,7 @@ setting the 'syndic_master' value to a list:
|
|||
- masterofmasters1
|
||||
- masterofmasters2
|
||||
|
||||
Each higher level master must be set up in a multimaster configuration.
|
||||
Each higher level master must be set up in a multi-master configuration.
|
||||
|
||||
.. conf_master:: syndic_master_port
|
||||
|
||||
|
@ -2899,7 +2900,7 @@ Each higher level master must be set up in a multimaster configuration.
|
|||
|
||||
Default: ``4506``
|
||||
|
||||
If this master will be running a salt-syndic to connect to a higher level
|
||||
If this master will be running the ``salt-syndic`` to connect to a higher level
|
||||
master, specify the higher level master port with this configuration value.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
@ -2911,28 +2912,28 @@ master, specify the higher level master port with this configuration value.
|
|||
``syndic_pidfile``
|
||||
------------------
|
||||
|
||||
Default: ``salt-syndic.pid``
|
||||
Default: ``/var/run/salt-syndic.pid``
|
||||
|
||||
If this master will be running a salt-syndic to connect to a higher level
|
||||
If this master will be running the ``salt-syndic`` to connect to a higher level
|
||||
master, specify the pidfile of the syndic daemon.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
syndic_pidfile: syndic.pid
|
||||
syndic_pidfile: /var/run/syndic.pid
|
||||
|
||||
.. conf_master:: syndic_log_file
|
||||
|
||||
``syndic_log_file``
|
||||
-------------------
|
||||
|
||||
Default: ``syndic.log``
|
||||
Default: ``/var/log/salt/syndic``
|
||||
|
||||
If this master will be running a salt-syndic to connect to a higher level
|
||||
master, specify the log_file of the syndic daemon.
|
||||
If this master will be running the ``salt-syndic`` to connect to a higher level
|
||||
master, specify the log file of the syndic daemon.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
syndic_log_file: salt-syndic.log
|
||||
syndic_log_file: /var/log/salt-syndic.log
|
||||
|
||||
.. master_conf:: syndic_failover
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue