Hello!I'm trying to get audit-mode to work just with vagrant and chef-client 12.2.1. Since there's no option in Vagrant yet I tried passing it in the chef.arguments, but get this error -
$ cat Vagrantfile | grep auditchef.arguments = "--audit-mode enabled"$ vagrant provision==> default: Running provisioner: chef_zero...==> default: Detected Chef (12.2.1) is already installedGenerating chef JSON and uploading...==> default: Running chef-zero...==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-cli-1.5.0/lib/mixlib/cli.rb:191:in `parse_options'==> default: :==> default: invalid option: --audit-mode (OptionParser::InvalidOption)==> default: from /opt/chef/embedded/apps/chef/lib/chef/application.rb:86:in `configure_chef'==> default: from /opt/chef/embedded/apps/chef/lib/chef/application.rb:48:in `reconfigure'==> default: from /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:190:in `reconfigure'==> default: from /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in `run'==> default: from /opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>'==> default: from /usr/bin/chef-solo:51:in `load'==> default: from /usr/bin/chef-solo:51:in `<main>'Chef never successfully completed! Any errors should be visible in theoutput above. Please fix your recipes so that they properly complete.Also tried passing in a chef.custom_config_path = 'path/to/client.rb' with `audit_mode :enabled` but those options don't seem to get picked up.Thanks,-Eric Helgeson
Archive powered by MHonArc 2.6.16.