commit | 5951ff421068c893e8860e1ef23da90df57b592a | [log] [tgz] |
---|---|---|
author | Petr Michalec <epcim@apealive.net> | Thu Sep 07 18:29:53 2017 +0200 |
committer | Petr Michalec <epcim@apealive.net> | Thu Sep 07 18:29:53 2017 +0200 |
tree | 21b1d4cf974dc047945d1de0f65da16df6e747bf | |
parent | a2f351c1461970d9afc662d480946de6d7ea6de7 [diff] |
Restart salt master once reconfigured from model Change-Id: I0bf1baa29bdbe368f8277573a4071f0a0300d375
diff --git a/bootstrap.sh b/bootstrap.sh index a0cced5..39aa2c0 100755 --- a/bootstrap.sh +++ b/bootstrap.sh
@@ -663,6 +663,7 @@ log_info "Re/starting salt services" $SUDO sed -i 's/^master:.*/master: localhost/' /etc/salt/minion.d/minion.conf + $SUDO service salt-master restart >/dev/null $SUDO service salt-minion restart >/dev/null $SUDO salt-call ${SALT_OPTS} saltutil.sync_all >/dev/null