Merge pull request #12095 from Security-Onion-Solutions/startupstates

Change salt-minion startup_states
This commit is contained in:
Josh Patterson
2024-01-02 09:18:21 -05:00
committed by GitHub
4 changed files with 8 additions and 11 deletions

View File

@@ -29,4 +29,4 @@ so-user_sync:
- user: root
- name: 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin /usr/sbin/so-user sync &>> /opt/so/log/soc/sync.log'
- identifier: so-user_sync
- onlyif: "grep 'startup_states: highstate' /etc/salt/minion"
- onlyif: "grep -x 'startup_states: highstate' /etc/salt/minion"