Răsfoiți Sursa

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

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 ani în urmă
părinte
comite
b3540c1d3c
1 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  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