privisoners/salt: proper bootstrap URL [GH-3583]
This commit is contained in:
parent
ac95cb5785
commit
f80fdfa32a
|
@ -65,6 +65,7 @@ BUG FIXES:
|
|||
- provisioners/salt: Always copy keys and configs on provision. [GH-3536]
|
||||
- provisioners/salt: Install args should always be present with bootstrap.
|
||||
- provisioners/salt: Overwrite keys properly on subsequent provisions [GH-3575]
|
||||
- provisioners/salt: Bootstrap uses raw GitHub URL rather than subdomain. [GH-3583]
|
||||
- synced\_folders/nfs: Acquires a process-level lock so exports don't
|
||||
collide with Vagrant running in parallel.
|
||||
- synced\_folders/rsync: Add UserKnownHostsFile option to not complain. [GH-3511]
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
# We just download the bootstrap script by default and execute that.
|
||||
if [ -x /usr/bin/fetch ]; then
|
||||
/usr/bin/fetch -o - http://bootstrap.saltstack.org | sh -s -- "$@"
|
||||
/usr/bin/fetch -o - https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh | sh -s -- "$@"
|
||||
elif [ -x /usr/bin/curl ]; then
|
||||
/usr/bin/curl -L http://bootstrap.saltstack.org | sh -s -- "$@"
|
||||
/usr/bin/curl -L https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh | sh -s -- "$@"
|
||||
else
|
||||
python \
|
||||
-c 'import urllib; print urllib.urlopen("http://bootstrap.saltstack.org").read()' \
|
||||
-c 'import urllib; print urllib.urlopen("https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh").read()' \
|
||||
| sh -s -- "$@"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue