summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-02-22 15:16:10 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-02-22 15:16:10 -0800
commit1df0ac06e337ae69e54245c2419ccffe6bfca0fc (patch)
tree7c1bf9528ee8514f932c5f61e0c381ea6c6a1cf4
parent01593208de6143a3fbc5906a776c6333125025ae (diff)
downloadchef-1df0ac06e337ae69e54245c2419ccffe6bfca0fc.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 389968f543..2f72b285bd 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 6458db94e9..4edaf586cd 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