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