Compare commits

..

1 Commits

Author SHA1 Message Date
2b9420afa9
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 17:09:28 +01:00

View File

@ -10,10 +10,10 @@ salt-minion:
- file: /etc/salt/minion - file: /etc/salt/minion
restart-salt-minion: restart-salt-minion:
service.restart: cmd.run:
- name: salt-minion - name: "sleep 10 && systemctl restart salt-minion --no-block"
- bg: true
- order: last - order: last
- no_block: true
- watch: - watch:
- pkg: salt-minion - pkg: salt-minion
- file: /etc/salt/minion - file: /etc/salt/minion