Преглед изворни кода

Sync state_aggregate option in minion and master

ScriptAutomate пре 3 година
родитељ
комит
214ae8a9af
2 измењених фајлова са 30 додато и 6 уклоњено
  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``