Compare commits

..

1 Commits

Author SHA1 Message Date
eab6e1b85f
Manage salt-minion package, service and config
Restart the service after upgrading the package or modifying the minion
configuration file.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-12 16:53:35 +01:00

View File

@ -8,7 +8,10 @@ salt-minion:
- require:
- pkg: salt-minion
- file: /etc/salt/minion
restart-salt-minion:
service.restart:
- name: salt-minion
- order: last
- no_block: true
- watch:
@ -30,7 +33,6 @@ salt-minion:
check-minion-config:
cmd.run:
- name: sudo salt-call --local --skip-grains test.ping:
- name: sudo salt-call --local --skip-grains test.ping
- watch:
- file: /etc/salt/minion