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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/policy_builder/expand_node_object.rb b/lib/chef/policy_builder/expand_node_object.rb
index f71036e4d1..b69ecfe6a8 100644
--- a/lib/chef/policy_builder/expand_node_object.rb
+++ b/lib/chef/policy_builder/expand_node_object.rb
@@ -68,7 +68,7 @@ class Chef
Chef.set_run_context(run_context)
end
- def setup_run_context(specific_recipes=nil)
+ def setup_run_context(specific_recipes = nil)
if Chef::Config[:solo]
Chef::Cookbook::FileVendor.fetch_from_disk(Chef::Config[:cookbook_path])
cl = Chef::CookbookLoader.new(Chef::Config[:cookbook_path])
@@ -198,7 +198,7 @@ class Chef
begin
events.cookbook_resolution_start(@expanded_run_list_with_versions)
cookbook_hash = api_service.post("environments/#{node.chef_environment}/cookbook_versions",
- {:run_list => @expanded_run_list_with_versions})
+ { :run_list => @expanded_run_list_with_versions })
cookbook_hash = cookbook_hash.inject({}) do |memo, (key, value)|
memo[key] = Chef::CookbookVersion.from_hash(value)