mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-27 10:23:33 +01:00
restart salt-minion to trigger highstate
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
include:
|
||||
- setup.virt.setSalt
|
||||
- setup.virt.setHostname
|
||||
- setup.virt.sominion
|
||||
- setup.virt.setSalt
|
||||
|
||||
@@ -19,3 +19,10 @@ set_highstate:
|
||||
file.append:
|
||||
- name: /etc/salt/minion
|
||||
- text: 'startup_states: highstate'
|
||||
|
||||
restart_salt_minion:
|
||||
service.running:
|
||||
- name: salt-minion
|
||||
- enable: True
|
||||
- watch:
|
||||
- file: set_highstate
|
||||
|
||||
Reference in New Issue
Block a user