restart salt-minion to trigger highstate

This commit is contained in:
m0duspwnens
2025-01-28 16:38:20 -05:00
parent 5a6a9d6ec2
commit 87136e9e2b
2 changed files with 8 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
include:
- setup.virt.setSalt
- setup.virt.setHostname
- setup.virt.sominion
- setup.virt.setSalt

View File

@@ -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