summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordanielsdeleo <dan@chef.io>2015-09-17 16:14:03 -0700
committerdanielsdeleo <dan@chef.io>2015-09-21 09:07:28 -0700
commit6a3ff229c9db3c9811ada59aed2ead80efe699b4 (patch)
treedfef01974745109f6dd7ed0fdafd4d553877cc64 /lib
parent3bffbc968d4dc76cd6992c603f849cf46fd759dc (diff)
downloadchef-6a3ff229c9db3c9811ada59aed2ead80efe699b4.tar.gz
Configure named run list via command line or config file
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/application/client.rb6
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',