Skip to content

Commit

Permalink
Temporarily point to older bootstrap script
Browse files Browse the repository at this point in the history
The most recent saltstack bootstrap file expects a salt-api service to
exist. The most recent Fedora salt-master rpm doesn't include this
service yet. Pointing to the previous version of the bootstrap script.
  • Loading branch information
csrwng committed Jul 28, 2014
1 parent 57b583e commit d9ae72d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cluster/vagrant/provision-master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ EOF
# install. See https://github.com/saltstack/salt-bootstrap/issues/270
#
# -M installs the master
curl -L http://bootstrap.saltstack.com | sh -s -- -M
# 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 -L https://raw.githubusercontent.com/saltstack/salt-bootstrap/v2014.06.30/bootstrap-salt.sh | sh -s -- -M

mkdir -p /srv/salt/nginx
echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd
Expand All @@ -75,4 +81,4 @@ popd

echo "Executing configuration"
salt '*' mine.update
salt --force-color '*' state.highstate
salt --force-color '*' state.highstate

0 comments on commit d9ae72d

Please sign in to comment.