Add path to installing puppet 3 on nodepool nodes
Instead of looking for an argument, change the install_puppet.sh script to look for an environment variable to switch to installing puppet3. Also export this environment variable in prepare_node.sh (albeit with a default value that does not install puppet3). Change-Id: I04bee2fa5bb70a4d763edb2f3d30f117cad5d65b
This commit is contained in:
parent
8bd0056443
commit
726c00c541
@ -23,7 +23,8 @@
|
||||
|
||||
#
|
||||
# Test condition to install puppet 3
|
||||
if [ "$1" = '--three' ]; then
|
||||
PUPPET_VERSION=${PUPPET_VERSION:-2}
|
||||
if [ "$PUPPET_VERSION" = '3' ]; then
|
||||
THREE=yes
|
||||
echo "Running in 3 mode"
|
||||
fi
|
||||
|
@ -25,6 +25,8 @@ PYPY=${PYPY:-false}
|
||||
ALL_MYSQL_PRIVS=${ALL_MYSQL_PRIVS:-false}
|
||||
GIT_BASE=${GIT_BASE:-git://git.openstack.org}
|
||||
|
||||
export PUPPET_VERSION=${PUPPET_VERSION:-'2'}
|
||||
|
||||
# Save the nameservers configured by our provider.
|
||||
cat >/tmp/forwarding.conf <<EOF
|
||||
forward-zone:
|
||||
|
Loading…
x
Reference in New Issue
Block a user