Advertisement
Guest User

Untitled

a guest
Oct 29th, 2015
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. cat /usr/share/vagrant/plugins/provisioners/salt/bootstrap-salt.sh
  2. #!/bin/sh -
  3.  
  4. # We just download the bootstrap script by default and execute that.
  5. if [ -x /usr/bin/fetch ]; then
  6. # /usr/bin/fetch -o - http://bootstrap.saltstack.org | sh -s -- "$@"
  7. /usr/bin/fetch -o - http://bootstrap.saltstack.org | sh -s -- -P git v2014.7
  8. elif [ -x /usr/bin/curl ]; then
  9. # /usr/bin/curl -L http://bootstrap.saltstack.org | sh -s -- "$@"
  10. /usr/bin/curl -L https://bootstrap.saltstack.com | sh -s -- -P git v2014.7
  11. else
  12. python \
  13. -c 'import urllib; print urllib.urlopen("http://bootstrap.saltstack.org").read()' \
  14. | sh -s -- "$@"
  15. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement