commit | 7f3e7e71e36488c11c9cd16340220a473a82ea97 | [log] [tgz] |
---|---|---|
author | Petr Michalec <epcim@apealive.net> | Fri Aug 18 13:49:24 2017 +0200 |
committer | GitHub <noreply@github.com> | Fri Aug 18 13:49:24 2017 +0200 |
tree | 3554cdf71dfc8d834facbd432f0f0de768532838 | |
parent | 571d6b832a132d84cf33f95241c5c1bebc40d061 [diff] [blame] |
avoid to break if salt.master.service fails
diff --git a/bootstrap.sh b/bootstrap.sh index 30c53bb..f18e6b4 100755 --- a/bootstrap.sh +++ b/bootstrap.sh
@@ -622,7 +622,7 @@ # finally re-configure salt master conf, ie: may remove ignore_class_notfound option log_info "State: salt.master.service" - $SUDO salt-call ${SALT_OPTS} state.apply salt.master.service + $SUDO salt-call ${SALT_OPTS} state.apply salt.master.service || true log_info "State: salt.master.storage.node" set +e