Merge pull request #4585 from Security-Onion-Solutions/kilo

Kilo
This commit is contained in:
Jason Ertel
2021-06-22 08:38:39 -04:00
committed by GitHub

View File

@@ -62,10 +62,13 @@ soccustom:
- mode: 600 - mode: 600
- template: jinja - template: jinja
# we dont want this added too early in setup, so we add the onlyif to verify 'startup_states: highstate'
# is in the minion config. That line is added before the final highstate during setup
sosyncusers: sosyncusers:
cron.present: cron.present:
- user: root - 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' - 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'
- onlyif: "grep 'startup_states: highstate' /etc/salt/minion"
so-soc: so-soc:
docker_container.running: docker_container.running: