Revert "Adds second hiera data directory"
This did not seem to work. This reverts commit ed57cef9c5a65f429e07ce253668cd23ceb6c45a
This commit is contained in:
parent
3db7f666c1
commit
1ec999f890
@ -45,10 +45,10 @@ sudo git clone --depth=1 git://git.openstack.org/openstack-infra/config.git \
|
|||||||
/root/config
|
/root/config
|
||||||
sudo /bin/bash /root/config/install_modules.sh
|
sudo /bin/bash /root/config/install_modules.sh
|
||||||
if [ -z "$NODEPOOL_SSH_KEY" ] ; then
|
if [ -z "$NODEPOOL_SSH_KEY" ] ; then
|
||||||
sudo puppet apply --confdir=/root/config --modulepath=/root/config/modules:/etc/puppet/modules \
|
sudo puppet apply --modulepath=/root/config/modules:/etc/puppet/modules \
|
||||||
-e "class {'openstack_project::single_use_slave': sudo => $SUDO, bare => $BARE, python3 => $PYTHON3, include_pypy => $PYPY, all_mysql_privs => $ALL_MYSQL_PRIVS, }"
|
-e "class {'openstack_project::single_use_slave': sudo => $SUDO, bare => $BARE, python3 => $PYTHON3, include_pypy => $PYPY, all_mysql_privs => $ALL_MYSQL_PRIVS, }"
|
||||||
else
|
else
|
||||||
sudo puppet apply --confdir=/root/config --modulepath=/root/config/modules:/etc/puppet/modules \
|
sudo puppet apply --modulepath=/root/config/modules:/etc/puppet/modules \
|
||||||
-e "class {'openstack_project::single_use_slave': install_users => false, sudo => $SUDO, bare => $BARE, python3 => $PYTHON3, include_pypy => $PYPY, all_mysql_privs => $ALL_MYSQL_PRIVS, ssh_key => '$NODEPOOL_SSH_KEY', }"
|
-e "class {'openstack_project::single_use_slave': install_users => false, sudo => $SUDO, bare => $BARE, python3 => $PYTHON3, include_pypy => $PYPY, all_mysql_privs => $ALL_MYSQL_PRIVS, ssh_key => '$NODEPOOL_SSH_KEY', }"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
2
test.sh
2
test.sh
@ -13,5 +13,5 @@ sed -i -e 's/hiera..sysadmins../["admin"]/' applytest/puppetapplytest*
|
|||||||
sed -i -e 's/hiera..listadmins../["admin"]/' applytest/puppetapplytest*
|
sed -i -e 's/hiera..listadmins../["admin"]/' applytest/puppetapplytest*
|
||||||
sed -i -e 's/hiera.*/PASSWORD,/' applytest/puppetapplytest*
|
sed -i -e 's/hiera.*/PASSWORD,/' applytest/puppetapplytest*
|
||||||
for f in `find applytest -name 'puppetapplytest*' -print` ; do
|
for f in `find applytest -name 'puppetapplytest*' -print` ; do
|
||||||
puppet apply --confdir=$(pwd) --modulepath=./modules:/etc/puppet/modules -v --noop --debug $f >/dev/null
|
puppet apply --modulepath=./modules:/etc/puppet/modules -v --noop --debug $f >/dev/null
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user