summaryrefslogtreecommitdiff
path: root/lib/chef/policy_builder.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@chef.io>2015-09-09 18:33:15 -0700
committerdanielsdeleo <dan@chef.io>2015-09-17 14:29:49 -0700
commit69c7fa5f63e01c64f8ccc198ddc00c836c24914e (patch)
treee5a1277fbfd682d6c722609c7614236ebe12798f /lib/chef/policy_builder.rb
parent01be9b1e91e515eb76de43a1e448e5476bd56574 (diff)
downloadchef-69c7fa5f63e01c64f8ccc198ddc00c836c24914e.tar.gz
Add Dynamic PolicyBuilder to switch on policyfile mode
Now we need to switch PolicyBuilder implementations based on several factors instead of just a single config settings, including content of the node fetched from the Chef Server.
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 136b2853b0..036d8bc051 100644
--- a/lib/chef/policy_builder.rb
+++ b/lib/chef/policy_builder.rb
@@ -18,6 +18,7 @@
require 'chef/policy_builder/expand_node_object'
require 'chef/policy_builder/policyfile'
+require 'chef/policy_builder/dynamic'
class Chef