launch_debug.sh 589 B

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