summaryrefslogtreecommitdiff
path: root/lib/chef/policy_builder/expand_node_object.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/policy_builder/expand_node_object.rb')
-rw-r--r--lib/chef/policy_builder/expand_node_object.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/chef/policy_builder/expand_node_object.rb b/lib/chef/policy_builder/expand_node_object.rb
index aa761926d3..524bdd95b1 100644
--- a/lib/chef/policy_builder/expand_node_object.rb
+++ b/lib/chef/policy_builder/expand_node_object.rb
@@ -61,13 +61,7 @@ class Chef
#
# @param run_context [Chef::RunContext] the run_context to inject
def setup_chef_class(run_context)
- # these slurp in the resource+provider world, so be exceedingly lazy about requiring them
- require 'chef/platform/provider_priority_map'
- require 'chef/platform/resource_priority_map'
-
Chef.set_run_context(run_context)
- Chef.set_provider_priority_map(Chef::Platform::ProviderPriorityMap.instance)
- Chef.set_resource_priority_map(Chef::Platform::ResourcePriorityMap.instance)
end
def setup_run_context(specific_recipes=nil)