Setup Script - Restart salt Minion after nuking key

This commit is contained in:
Mike Reeves
2018-12-04 17:42:50 -05:00
parent f41f619441
commit d911c892ba
2 changed files with 2 additions and 1 deletions

View File

@@ -156,6 +156,7 @@ clear_master() {
# This only happens if you re-install the master.
if [ -f /etc/salt/pki/minion/minion_master.pub]; then
rm /etc/salt/pki/minion/minion_master.pub
service salt-minion restart
fi
}