summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2015-01-22 17:29:26 -0800
committerdanielsdeleo <dan@getchef.com>2015-01-27 12:46:13 -0800
commit9c6bd84af0262fa3bcc467500edb210fe9443b81 (patch)
tree31c9ced31fdd8b154e391171bbb36ccbbf2ad58a /lib/chef/config.rb
parente8520b7c0dd3d5c50d0822a04e201ff040543ff8 (diff)
downloadchef-9c6bd84af0262fa3bcc467500edb210fe9443b81.tar.gz
Add policy_path for ChefFS policyfile support
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r--lib/chef/config.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index 453a8f83da..bf0901e182 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -203,6 +203,10 @@ class Chef
# Does not apply to Enterprise Chef commands.
default(:user_path) { derive_path_from_chef_repo_path('users') }
+ # 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') }
+
# Turn on "path sanity" by default. See also: http://wiki.opscode.com/display/chef/User+Environment+PATH+Sanity
default :enforce_path_sanity, true