summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-02-23 11:09:18 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-02-23 11:09:18 -0800
commit12cbb07a4275058476a4618813963a945fde2451 (patch)
treecb7a67e9582558c87a309b286fb38060d7a4a6c6
parent00f35ace0da4920ce93f0aa6883b55010136166e (diff)
downloadchef-12cbb07a4275058476a4618813963a945fde2451.tar.gz
Revert "remove comments + debugging"
This reverts commit 9fe57c38a57135c7bd29ff05a1c7839a4d30c38c.
-rw-r--r--lib/chef/node/attribute.rb2
-rw-r--r--lib/chef/node/immutable_collections.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb
index 142150aeef..debb3eeaef 100644
--- a/lib/chef/node/attribute.rb
+++ b/lib/chef/node/attribute.rb
@@ -17,6 +17,7 @@
# limitations under the License.
#
+#require "chef/node/mixin/deep_merge_cache"
require "chef/node/mixin/immutablize_hash"
require "chef/node/mixin/state_tracking"
require "chef/node/immutable_collections"
@@ -44,6 +45,7 @@ class Chef
# expects. This include should probably be deleted?
include Enumerable
+ #include Chef::Node::Mixin::DeepMergeCache
include Chef::Node::Mixin::StateTracking
include Chef::Node::Mixin::ImmutablizeHash
diff --git a/lib/chef/node/immutable_collections.rb b/lib/chef/node/immutable_collections.rb
index dc8ead9176..9372b30fc1 100644
--- a/lib/chef/node/immutable_collections.rb
+++ b/lib/chef/node/immutable_collections.rb
@@ -85,6 +85,7 @@ class Chef
if array.respond_to?(:internal_to_a, true)
array.internal_to_a
else
+ puts array.class
array.to_a
end
end