|
@@ -6,6 +6,7 @@ POLICY=${1:-"base"}
|
|
|
rm -rf policy-export/*
|
|
|
bundle exec chef-cli update "${POLICY}.rb"
|
|
|
bundle exec chef-cli export "${POLICY}.rb" -a policy-export
|
|
|
+ln -svf "${POLICY}.rb" Policyfile.rb
|
|
|
pushd policy-export > /dev/null
|
|
|
tar xfz *.tgz && rm -rf *.tgz
|
|
|
popd > /dev/null
|