mirror of https://github.com/k3s-io/k3s
Merge pull request #661 from csrwng/fix_salt_stack
Temporarily point to older bootstrap scriptpull/6/head
commit
37e5f96074
|
@ -53,7 +53,13 @@ EOF
|
||||||
# install. See https://github.com/saltstack/salt-bootstrap/issues/270
|
# install. See https://github.com/saltstack/salt-bootstrap/issues/270
|
||||||
#
|
#
|
||||||
# -M installs the master
|
# -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
|
mkdir -p /srv/salt/nginx
|
||||||
echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd
|
echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd
|
||||||
|
@ -75,4 +81,4 @@ popd
|
||||||
|
|
||||||
echo "Executing configuration"
|
echo "Executing configuration"
|
||||||
salt '*' mine.update
|
salt '*' mine.update
|
||||||
salt --force-color '*' state.highstate
|
salt --force-color '*' state.highstate
|
||||||
|
|
Loading…
Reference in New Issue