Update to latest bootstrap script v2015.11.09

* Make sure that wget is installed. saltstack/salt-bootstrap#868
This commit is contained in:
Pedro Algarvio 2015-11-09 16:28:17 +00:00
parent 61ba00b1c3
commit bb6c60a330

View file

@ -17,7 +17,7 @@
# CREATED: 10/15/2012 09:49:37 PM WEST
#======================================================================================================================
set -o nounset # Treat unset variables as an error
__ScriptVersion="2015.11.04"
__ScriptVersion="2015.11.09"
__ScriptName="bootstrap-salt.sh"
#======================================================================================================================
@ -1881,6 +1881,10 @@ install_ubuntu_stable_deps() {
/etc/apt/sources.list.d/saltstack.list
fi
# Make sure wget is available
__apt_get_install_noinput wget
# shellcheck disable=SC2086
wget $_WGET_ARGS -q http://repo.saltstack.com/apt/ubuntu/ubuntu$DISTRO_MAJOR_VERSION/$STABLE_REV/SALTSTACK-GPG-KEY.pub -O - | apt-key add - || return 1