launch_debug.sh 615 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. ./scripts/export_policy.sh
  3. cat << _EOF > policy-export/.chef/config_solo.rb
  4. log_level :debug
  5. log_location '/dev/null'
  6. ssl_verify_mode :verify_none
  7. file_cache_path "./.chef/local-mode-cache/cache/cookbooks"
  8. cookbook_path ["./cookbook_artifacts"]
  9. # Mixlib::Log::Formatter.show_time specifies whether the log should
  10. # contain timestamps.
  11. # valid values are true or false. The printed timestamp is rfc2822, for example:
  12. # Fri, 31 Jul 2009 19:19:46 -0600
  13. Mixlib::Log::Formatter.show_time = true
  14. _EOF
  15. cd policy-export
  16. bundle exec chef-shell -s -c .chef/config_solo.rb
  17. cd -