aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-04-21 12:14:55 +0000
committerGerrit Code Review <review@openstack.org>2017-04-21 12:14:55 +0000
commit791c552817c339d5d08404d07dec8f55bc71f373 (patch)
tree648d2b2bec9f945dc6b9e74bbe45579947790322 /extraconfig
parent8c91f77ca7b80f5d12adb6da921745792dc38a06 (diff)
parent225cff330067b65b5a8b990aeca3424c2b6e1119 (diff)
Merge "N->O Manual puppet commands have the right modulepath." into stable/ocata
Diffstat (limited to 'extraconfig')
-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