[Puppet] applyManifest fixed
As described in LP-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 LP-1598232 will be fixed Change-Id: Id9a29a9d8ea49b56ae8d3457c0308121e390cc62
This commit is contained in:
parent
468e3f7386
commit
48125f9cdb
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user