Przeglądaj źródła

fix(script): Fix chef run command line

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 lat temu
rodzic
commit
15ac7b9c60
2 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 1
      scripts/run_policy.sh
  2. 0 1
      scripts/run_policy.sh.template

+ 0 - 1
scripts/run_policy.sh

@@ -111,7 +111,6 @@ if [ ${FLAG_D} -eq 1 ]; then
 	OPT="${OPT} --log_level debug"
 fi
 
-bundle exec chef-client --chef-license 'accept' -z ${OPT}
 bundle exec chef-client --chef-license 'accept' --config-option 'client_d_dir=../client.d' -z ${OPT}
 popd > /dev/null
 ./scripts/end_run.sh

+ 0 - 1
scripts/run_policy.sh.template

@@ -37,7 +37,6 @@ if [ ${FLAG_D} -eq 1 ]; then
 	OPT="${OPT} --log_level debug"
 fi
 
-bundle exec chef-client --chef-license 'accept' -z ${OPT}
 bundle exec chef-client --chef-license 'accept' --config-option 'client_d_dir=../client.d' -z ${OPT}
 popd > /dev/null
 ./scripts/end_run.sh