summaryrefslogtreecommitdiff
path: root/lib/chef/policy_builder.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2014-01-17 18:32:26 -0800
committerdanielsdeleo <dan@opscode.com>2014-01-22 15:14:13 -0800
commit8cf6427638d3d4f50a984d5a9c204d85f275c7bd (patch)
tree54c9c61b6fe0d7422eff47bdc620fa6928808e3f /lib/chef/policy_builder.rb
parentbd82d42a1f5198f6f712529991e070ce9b9d79a2 (diff)
downloadchef-8cf6427638d3d4f50a984d5a9c204d85f275c7bd.tar.gz
Add Policyfile-based policy builder for chef-client
NB: This is experimental and a bit of a hack. There is no server-side support, so interactions with the server are coded in a "compatibility mode" using data bag items and Chef 11 style cookbook version APIs. The Policyfile PolicyBuilder uses a single document from the server as the authoritative cookbook version set and expanded run list. Enabling it will disable support for environments and roles. In addition, chef-solo and override run lists are currently unsupported, though they could be supported in the future.
Diffstat (limited to 'lib/chef/policy_builder.rb')
-rw-r--r--lib/chef/policy_builder.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/policy_builder.rb b/lib/chef/policy_builder.rb
index d24681a1ad..2ba3cf839e 100644
--- a/lib/chef/policy_builder.rb
+++ b/lib/chef/policy_builder.rb
@@ -17,6 +17,7 @@
#
require 'chef/policy_builder/expand_node_object'
+require 'chef/policy_builder/policyfile'
class Chef