diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-04-21 12:14:55 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-04-21 12:14:55 +0000 |
commit | 791c552817c339d5d08404d07dec8f55bc71f373 (patch) | |
tree | 648d2b2bec9f945dc6b9e74bbe45579947790322 /extraconfig | |
parent | 8c91f77ca7b80f5d12adb6da921745792dc38a06 (diff) | |
parent | 225cff330067b65b5a8b990aeca3424c2b6e1119 (diff) |
Merge "N->O Manual puppet commands have the right modulepath." into stable/ocata
Diffstat (limited to 'extraconfig')
-rwxr-xr-x | extraconfig/tasks/run_puppet.sh | 5 |
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 |