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 /chef-config | |
parent | 3bffbc968d4dc76cd6992c603f849cf46fd759dc (diff) | |
download | chef-6a3ff229c9db3c9811ada59aed2ead80efe699b4.tar.gz |
Configure named run list via command line or config file
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index 76ee589ff9..32058f283a 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -356,6 +356,12 @@ module ChefConfig default :policy_name, nil default :policy_group, nil + # Policyfiles can have multiple run lists, via the named run list feature. + # Generally this will be set by a CLI option via Chef::Application::Client, + # but it could be set in client.rb if desired. + + default :named_run_list, nil + # During initial development, users were required to set `use_policyfile true` # in `client.rb` to opt-in to policyfile use. Chef Client now examines # configuration, node json, and the stored node to determine if policyfile |