Merge "N->O Manual puppet commands have the right modulepath." into stable/ocata
This commit is contained in:
commit
791c552817
@ -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
|
||||
|
@ -218,7 +218,7 @@ outputs:
|
||||
- name: Run puppet apply to set tranport_url in nova.conf
|
||||
tags: step5
|
||||
when: is_bootstrap_node
|
||||
command: puppet apply --detailed-exitcodes /root/nova-api_upgrade_manifest.pp
|
||||
command: puppet apply --modulepath /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --detailed-exitcodes /root/nova-api_upgrade_manifest.pp
|
||||
register: puppet_apply_nova_api_upgrade
|
||||
failed_when: puppet_apply_nova_api_upgrade.rc not in [0,2]
|
||||
changed_when: puppet_apply_nova_api_upgrade.rc == 2
|
||||
|
Loading…
Reference in New Issue
Block a user