Merge "[Puppet] applyManifest fixed"

This commit is contained in:
Jenkins 2016-07-04 16:22:55 +00:00 committed by Gerrit Code Review
commit 28d53c595a

View File

@ -1,5 +1,16 @@
#!/usr/bin/env bash
# As described in https://bugs.launchpad.net/murano/+bug/1598232
# murano-agent set the working directory depending on where the script
# is located. Check and set working directory to the root of the
# temporary folder which created by murano for the current execution plan
# This code must work even if LP1598232 will be fixed
if [ -d ../core ]
then
cd ..
fi
set +e
puppet apply --detailed-exitcodes --color=false "site.pp"