diff options
author | John Keiser <john@johnkeiser.com> | 2015-11-17 14:40:33 -0800 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-12-15 13:01:32 -0800 |
commit | 9dbe7491927ecf73d5757179dc6e26c1946f46c0 (patch) | |
tree | 231566c67d2a72831126468398b37b4b7b20116c /chef-config | |
parent | b743fcdbd172862386d172b42bbbc31cfe2f4239 (diff) | |
download | chef-9dbe7491927ecf73d5757179dc6e26c1946f46c0.tar.gz |
Add knife/ChefFS support for policyfiles and policy_groups.
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index d8cc4bff37..1ad6266d14 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -185,6 +185,14 @@ module ChefConfig # Defaults to <chef_repo_path>/nodes. default(:node_path) { derive_path_from_chef_repo_path('nodes') } + # Location of policies on disk. String or array of strings. + # Defaults to <chef_repo_path>/policies. + default(:policy_path) { derive_path_from_chef_repo_path('policies') } + + # Location of policy_groups on disk. String or array of strings. + # Defaults to <chef_repo_path>/policy_groups. + default(:policy_group_path) { derive_path_from_chef_repo_path('policy_groups') } + # Location of roles on disk. String or array of strings. # Defaults to <chef_repo_path>/roles. default(:role_path) { derive_path_from_chef_repo_path('roles') } |