Merge pull request #1808 from jbeda/remove-dup-script

Remove duplicate code for GCE cluster start
pull/6/head
bgrant0607 2014-10-15 10:58:25 -07:00
commit 8ea0bd608f
1 changed files with 0 additions and 9 deletions

View File

@ -28,10 +28,6 @@ grains:
cloud: gce
EOF
cat <<EOF >/srv/pillar/cluster-params.sls
node_instance_prefix: $NODE_INSTANCE_PREFIX
EOF
# Auto accept all keys from minions that try to join
mkdir -p /etc/salt/master.d
cat <<EOF >/etc/salt/master.d/auto-accept.conf
@ -45,9 +41,6 @@ reactor:
- /srv/reactor/start.sls
EOF
mkdir -p /srv/salt/nginx
echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd
# Install Salt
#
# We specify -X to avoid a race condition that can cause minion failure to
@ -57,5 +50,3 @@ echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd
set +x
curl -L --connect-timeout 20 --retry 6 --retry-delay 10 http://bootstrap.saltstack.com | sh -s -- -M -X
set -x
echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd