Explorar o código

chore(script): Change the way to export the policy

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO %!s(int64=2) %!d(string=hai) anos
pai
achega
b3540c1d3c
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      scripts/export_policy.sh

+ 5 - 5
scripts/export_policy.sh

@@ -9,9 +9,9 @@ ssh-ident -V
 rm -rf policy-export/*
 echo -e "\e[32m"
 ln -svf "${POLICY}.rb" Policyfile.rb
-echo -en "\e[39m"
+echo -en "\e[39m\e[0m"
 bundle exec chef-cli update "${POLICY}.rb"
-bundle exec chef-cli export "${POLICY}.rb" -a policy-export
-pushd policy-export > /dev/null
-tar xfz *.tgz && rm -rf *.tgz
-popd > /dev/null
+bundle exec chef-cli export "${POLICY}.rb" -f policy-export
+# pushd policy-export > /dev/null
+# tar xfz *.tgz && rm -rf *.tgz
+# popd > /dev/null