diff options
author | danielsdeleo <dan@chef.io> | 2015-09-17 16:14:03 -0700 |
---|---|---|
committer | danielsdeleo <dan@chef.io> | 2015-09-21 09:07:28 -0700 |
commit | 6a3ff229c9db3c9811ada59aed2ead80efe699b4 (patch) | |
tree | dfef01974745109f6dd7ed0fdafd4d553877cc64 /lib | |
parent | 3bffbc968d4dc76cd6992c603f849cf46fd759dc (diff) | |
download | chef-6a3ff229c9db3c9811ada59aed2ead80efe699b4.tar.gz |
Configure named run list via command line or config file
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/application/client.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 73eda81343..148257ab89 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -160,6 +160,12 @@ class Chef::Application::Client < Chef::Application :description => "Set the client key file location", :proc => nil + option :named_run_list, + :short => "-n NAMED_RUN_LIST", + :long => "--named-run-list NAMED_RUN_LIST", + :description => "Use a policyfile's named run list instead of the default run list", + :default => nil + option :environment, :short => '-E ENVIRONMENT', :long => '--environment ENVIRONMENT', |