Sha256: fe8888b1b743d13f210657e70229a9214d5221c1dacc924c008f849a2d7bc156

Contents?: true

Size: 816 Bytes

Versions: 14

Compression:

Stored size: 816 Bytes

Contents

#!/bin/sh -

cd `mktemp -d`

# We just download the bootstrap script by default and execute that.
if [ -x /usr/bin/fetch ]; then
    /usr/bin/fetch -o bootstrap-salt.sh https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
elif [ -x /usr/bin/curl ]; then
    /usr/bin/curl --silent --show-error -L -O https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
elif [ -x /usr/bin/wget ]; then
    /usr/bin/wget -O bootstrap-salt.sh https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
else
    python -c 'import urllib; urllib.urlretrieve("https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh", "bootstrap-salt.sh")'
fi

if [ -e bootstrap-salt.sh ]; then
  sh bootstrap-salt.sh "$@"
else
  exit 1
fi

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
vagrant-unbundled-2.2.14.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.10.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.9.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.8.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.7.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.6.2 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.6.1 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.6.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.5.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.4.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.3.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.2.0 plugins/provisioners/salt/bootstrap-salt.sh
vagrant-unbundled-2.2.0.0 plugins/provisioners/salt/bootstrap-salt.sh