|
@@ -27,7 +27,7 @@ set -e
|
|
|
# Ref:
|
|
|
# https://medium.com/@emachnic/using-policyfiles-with-chef-client-local-mode-4f47477b24db
|
|
|
./scripts/export_policy.sh ${POLICY}
|
|
|
-echo -e "\n\e[4m\e[33mRunning:\e[0m \e[33m\e[1mchef-client -z\e[39m"
|
|
|
+echo -e "\n\e[4m\e[33mRunning:\e[0m \e[33m\e[1mchef-client -z\e[39m\e[0m"
|
|
|
pushd policy-export > /dev/null
|
|
|
if [ ${DRY_RUN} -eq 1 ]; then
|
|
|
OPT="--why-run"
|