summaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks/run_puppet.sh
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-04-20 15:46:28 +0000
committerGerrit Code Review <review@openstack.org>2017-04-20 15:46:28 +0000
commit2a089e3be97d96bf959c18016213d4648f2ae90d (patch)
treef213952d9ba878b89b6c24fac0dc537ff43cc2dc /extraconfig/tasks/run_puppet.sh
parentb5675f3b7f68e0e2b8d65c8b864897477c06fd58 (diff)
parent79c2d0f3d411da9e57731d9da79d25a3e0364eb2 (diff)
Merge "N->O Manual puppet commands have the right modulepath."
Diffstat (limited to 'extraconfig/tasks/run_puppet.sh')
-rwxr-xr-xextraconfig/tasks/run_puppet.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/extraconfig/tasks/run_puppet.sh b/extraconfig/tasks/run_puppet.sh
index b7771e33..e3f6c493 100755
--- a/extraconfig/tasks/run_puppet.sh
+++ b/extraconfig/tasks/run_puppet.sh
@@ -10,7 +10,10 @@ function run_puppet {
export FACTER_deploy_config_name="${role}Deployment_Step${step}"
if [ -e "/etc/puppet/hieradata/heat_config_${FACTER_deploy_config_name}.json" ]; then
set +e
- puppet apply --detailed-exitcodes "${manifest}"
+ puppet apply --detailed-exitcodes \
+ --modulepath \
+ /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules \
+ "${manifest}"
rc=$?
echo "puppet apply exited with exit code $rc"
else