Merge pull request #932 from derekwaynecarr/issue_923

Revert to latest salt bootstrap and force SSL
This commit is contained in:
Daniel Smith 2014-08-18 10:14:23 -07:00
commit 82d1f8d4f6
2 changed files with 2 additions and 9 deletions

View File

@ -69,14 +69,7 @@ if [ ! $(which salt-master) ]; then
# install. See https://github.com/saltstack/salt-bootstrap/issues/270
#
# -M installs the master
# FIXME: The following line should be replaced with:
# curl -L http://bootstrap.saltstack.com | sh -s -- -M
# when the merged salt-api service is included in the fedora salt-master rpm
# Merge is here: https://github.com/saltstack/salt/pull/13554
# Fedora git repository is here: http://pkgs.fedoraproject.org/cgit/salt.git/
# (a new service file needs to be added for salt-api)
curl -sS -L https://raw.githubusercontent.com/saltstack/salt-bootstrap/v2014.06.30/bootstrap-salt.sh | sh -s -- -M
curl -sS -L --connect-timeout 20 --retry 6 --retry-delay 10 https://bootstrap.saltstack.com | sh -s -- -M
fi
# Build release

View File

@ -46,7 +46,7 @@ if [ ! $(which salt-minion) ]; then
#
# We specify -X to avoid a race condition that can cause minion failure to
# install. See https://github.com/saltstack/salt-bootstrap/issues/270
curl -sS -L http://bootstrap.saltstack.com | sh -s -- -X
curl -sS -L --connect-timeout 20 --retry 6 --retry-delay 10 https://bootstrap.saltstack.com | sh -s -- -X
## TODO this only works on systemd distros, need to find a work-around as removing -X above fails to start the services installed
systemctl enable salt-minion