10 export FACTER_deploy_config_name="${role}Deployment_Step${step}"
11 if [ -e "/etc/puppet/hieradata/heat_config_${FACTER_deploy_config_name}.json" ]; then
13 puppet apply --detailed-exitcodes \
15 /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules \
18 echo "puppet apply exited with exit code $rc"
20 echo "Step${step} doesn't exist for ${role}"
24 if [ $rc -eq 2 -o $rc -eq 0 ]; then