Selaa lähdekoodia

Sync state_aggregate option in minion and master

ScriptAutomate 3 vuotta sitten
vanhempi
commit
214ae8a9af
2 muutettua tiedostoa jossa 30 lisäystä ja 6 poistoa
  1. 8 6
      doc/ref/configuration/master.rst
  2. 22 0
      doc/ref/configuration/minion.rst

+ 8 - 6
doc/ref/configuration/master.rst

@@ -2525,18 +2525,20 @@ states is cluttering the logs. Set it to True to ignore them.
 
 Default: ``False``
 
-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.
+Automatically aggregate all states that have support for ``mod_aggregate`` by
+setting to ``True``.
 
 .. code-block:: yaml
 
-    state_aggregate:
-      - pkg
+    state_aggregate: True
+
+Or pass a list of state module names to automatically
+aggregate just those types.
 
 .. code-block:: yaml
 
-    state_aggregate: True
+    state_aggregate:
+      - pkg
 
 .. conf_master:: state_events
 

+ 22 - 0
doc/ref/configuration/minion.rst

@@ -2189,6 +2189,28 @@ or just post what changes are going to be made.
 
     test: False
 
+.. conf_minion:: state_aggregate
+
+``state_aggregate``
+-------------------
+
+Default: ``False``
+
+Automatically aggregate all states that have support for ``mod_aggregate`` by
+setting to ``True``.
+
+.. code-block:: yaml
+
+    state_aggregate: True
+
+Or pass a list of state module names to automatically
+aggregate just those types.
+
+.. code-block:: yaml
+
+    state_aggregate:
+      - pkg
+
 .. conf_minion:: state_verbose
 
 ``state_verbose``