Compare commits
2 Commits
37e659cfc3
...
empty-pill
Author | SHA1 | Date | |
---|---|---|---|
cc0e8f7aff
|
|||
8024449e2b
|
3
pillar/top.sls
Normal file
3
pillar/top.sls
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{{ saltenv }}:
|
||||||
|
'*':
|
||||||
|
[]
|
1
stack/stack.cfg
Normal file
1
stack/stack.cfg
Normal file
@ -0,0 +1 @@
|
|||||||
|
[]
|
@ -11,10 +11,10 @@ salt-minion:
|
|||||||
|
|
||||||
restart-salt-minion:
|
restart-salt-minion:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: "sleep 10 && systemctl restart salt-minion --no-block"
|
- name: sleep 10 && systemctl restart salt-minion
|
||||||
- bg: true
|
- bg: true
|
||||||
- order: last
|
- order: last
|
||||||
- watch:
|
- onchanges:
|
||||||
- pkg: salt-minion
|
- pkg: salt-minion
|
||||||
- file: /etc/salt/minion
|
- file: /etc/salt/minion
|
||||||
- require:
|
- require:
|
||||||
@ -34,6 +34,7 @@ restart-salt-minion:
|
|||||||
|
|
||||||
check-minion-config:
|
check-minion-config:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: sudo salt-call --local --skip-grains test.ping
|
- name: sudo salt-call --local --skip-grains test.true
|
||||||
- watch:
|
- onchanges:
|
||||||
|
- pkg: salt-minion
|
||||||
- file: /etc/salt/minion
|
- file: /etc/salt/minion
|
||||||
|
Reference in New Issue
Block a user