mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Merge pull request #51018 from garethgreenaway/merge-2018.3
[fluorine] Merge forward from 2017.7 to 2018.3
This commit is contained in:
commit
b4774a8eab
@ -6,16 +6,16 @@ Configuring the Salt Master
|
||||
|
||||
The Salt system is amazingly simple and easy to configure, the two components
|
||||
of the Salt system each have a respective configuration file. The
|
||||
:command:`salt-master` is configured via the master configuration file, and the
|
||||
:command:`salt-minion` is configured via the minion configuration file.
|
||||
``salt-master`` is configured via the master configuration file, and the
|
||||
``salt-minion`` is configured via the minion configuration file.
|
||||
|
||||
.. seealso::
|
||||
|
||||
:ref:`Example master configuration file <configuration-examples-master>`.
|
||||
|
||||
The configuration file for the salt-master is located at
|
||||
:file:`/etc/salt/master` by default. A notable exception is FreeBSD, where the
|
||||
configuration file is located at :file:`/usr/local/etc/salt`. The available
|
||||
options are as follows:
|
||||
The configuration file for the salt-master is located at ``/etc/salt/master``
|
||||
by default. A notable exception is FreeBSD, where the configuration file is
|
||||
located at ``/usr/local/etc/salt``. The available options are as follows:
|
||||
|
||||
|
||||
.. _primary-master-configuration:
|
||||
@ -749,6 +749,22 @@ accessible from the minions.
|
||||
|
||||
master_job_cache: redis
|
||||
|
||||
.. conf_master:: job_cache_store_endtime
|
||||
|
||||
``job_cache_store_endtime``
|
||||
---------------------------
|
||||
|
||||
.. versionadded:: 2015.8.0
|
||||
|
||||
Default: ``False``
|
||||
|
||||
Specify whether the Salt Master should store end times for jobs as returns
|
||||
come in.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
job_cache_store_endtime: False
|
||||
|
||||
.. conf_master:: enforce_mine_cache
|
||||
|
||||
``enforce_mine_cache``
|
||||
@ -4614,6 +4630,55 @@ The queue size for workers in the reactor.
|
||||
reactor_worker_hwm: 10000
|
||||
|
||||
|
||||
.. _salt-api-master-settings:
|
||||
|
||||
Salt-API Master Settings
|
||||
========================
|
||||
|
||||
There are some settings for :ref:`salt-api <netapi-introduction>` that can be
|
||||
configured on the Salt Master.
|
||||
|
||||
.. conf_master:: api_logfile
|
||||
|
||||
``api_logfile``
|
||||
---------------
|
||||
|
||||
Default: ``/var/log/salt/api``
|
||||
|
||||
The logfile location for ``salt-api``.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
api_logfile: /var/log/salt/api
|
||||
|
||||
.. conf_master:: api_pidfile
|
||||
|
||||
``api_pidfile``
|
||||
---------------
|
||||
|
||||
Default: /var/run/salt-api.pid
|
||||
|
||||
If this master will be running ``salt-api``, specify the pidfile of the
|
||||
``salt-api`` daemon.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
api_pidfile: /var/run/salt-api.pid
|
||||
|
||||
.. conf_master:: rest_timeout
|
||||
|
||||
``rest_timeout``
|
||||
----------------
|
||||
|
||||
Default: ``300``
|
||||
|
||||
Used by ``salt-api`` for the master requests timeout.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
rest_timeout: 300
|
||||
|
||||
|
||||
.. _syndic-server-settings:
|
||||
|
||||
Syndic Server Settings
|
||||
@ -4988,6 +5053,9 @@ Node Groups
|
||||
|
||||
.. conf_master:: nodegroups
|
||||
|
||||
``nodegroups``
|
||||
--------------
|
||||
|
||||
Default: ``{}``
|
||||
|
||||
Node groups allow for logical groupings of minion nodes.
|
||||
|
@ -2741,7 +2741,8 @@ def create(vm_):
|
||||
log.debug('config_spec set to:\n%s', pprint.pformat(config_spec))
|
||||
|
||||
event_kwargs = vm_.copy()
|
||||
del event_kwargs['password']
|
||||
if event_kwargs.get('password'):
|
||||
del event_kwargs['password']
|
||||
|
||||
try:
|
||||
__utils__['cloud.fire_event'](
|
||||
|
Loading…
Reference in New Issue
Block a user