Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /usr/share/vagrant/plugins/provisioners/salt/bootstrap-salt.sh
- #!/bin/sh -
- # 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 - http://bootstrap.saltstack.org | sh -s -- -P git v2014.7
- elif [ -x /usr/bin/curl ]; then
- # /usr/bin/curl -L http://bootstrap.saltstack.org | sh -s -- "$@"
- /usr/bin/curl -L https://bootstrap.saltstack.com | sh -s -- -P git v2014.7
- else
- python \
- -c 'import urllib; print urllib.urlopen("http://bootstrap.saltstack.org").read()' \
- | sh -s -- "$@"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement