summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-11-21 15:13:28 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-11-21 15:13:28 -0800
commit37ef51f8bfbb2c53ba1e7b3899112d0ba673635f (patch)
treedb6ad122e227b4d88a07f4fa603006f954d81f4e
parent3ac12a699f5d0eb92ef791f1dd2350d50ac0c009 (diff)
downloadchef-37ef51f8bfbb2c53ba1e7b3899112d0ba673635f.tar.gz
#role_merge becomes #merge not #deep_merge
-rw-r--r--lib/chef/run_list/run_list_expansion.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/run_list/run_list_expansion.rb b/lib/chef/run_list/run_list_expansion.rb
index fed50ee232..eed3110afc 100644
--- a/lib/chef/run_list/run_list_expansion.rb
+++ b/lib/chef/run_list/run_list_expansion.rb
@@ -96,8 +96,8 @@ class Chef
end
def apply_role_attributes(role)
- @default_attrs = Chef::Mixin::DeepMerge.deep_merge(@default_attrs, role.default_attributes)
- @override_attrs = Chef::Mixin::DeepMerge.deep_merge(@override_attrs, role.override_attributes)
+ @default_attrs = Chef::Mixin::DeepMerge.merge(@default_attrs, role.default_attributes)
+ @override_attrs = Chef::Mixin::DeepMerge.merge(@override_attrs, role.override_attributes)
end
def applied_role?(role_name)
@@ -188,4 +188,3 @@ class Chef
end
end
-end