summaryrefslogtreecommitdiff
path: root/lib/chef/run_list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/run_list.rb')
-rw-r--r--lib/chef/run_list.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/run_list.rb b/lib/chef/run_list.rb
index 7ec5419ab7..de9e4ad612 100644
--- a/lib/chef/run_list.rb
+++ b/lib/chef/run_list.rb
@@ -74,6 +74,7 @@ class Chef
other.run_list_items == @run_list_items
else
return false unless other.respond_to?(:size) && (other.size == @run_list_items.size)
+
other_run_list_items = other.dup
other_run_list_items.map! { |item| coerce_to_run_list_item(item) }