index.rst 936 B

1234567891011121314151617181920212223242526
  1. .. _blackout:
  2. =============================
  3. Minion Blackout Configuration
  4. =============================
  5. .. versionadded:: 2016.3.0
  6. Salt supports minion blackouts. When a minion is in blackout mode, all remote
  7. execution commands are disabled. This allows production minions to be put
  8. "on hold", eliminating the risk of an untimely configuration change.
  9. Minion blackouts are configured via a special pillar key, ``minion_blackout``.
  10. If this key is set to ``True``, then the minion will reject all incoming
  11. commands, except for ``saltutil.refresh_pillar``. (The exception is important,
  12. so minions can be brought out of blackout mode)
  13. Salt also supports an explicit whitelist of additional functions that will be
  14. allowed during blackout. This is configured with the special pillar key
  15. ``minion_blackout_whitelist``, which is formed as a list:
  16. .. code-block:: yaml
  17. minion_blackout_whitelist:
  18. - test.version
  19. - pillar.get