enable startup_states: highstate on managers during setup and not with salt

This commit is contained in:
m0duspwnens
2024-01-04 16:24:48 -05:00
parent 93cdac592e
commit ccfdafea0a
3 changed files with 9 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ enable_startup_states:
file.uncomment:
- name: /etc/salt/minion
- regex: '^startup_states: highstate$'
- unless: pgrep so-setup
# prior to 2.4.30 this managed file would restart the salt-minion service when updated
# since this file is currently only adding a sleep timer on service start