diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-02-23 11:09:18 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-02-23 11:09:18 -0800 |
commit | 12cbb07a4275058476a4618813963a945fde2451 (patch) | |
tree | cb7a67e9582558c87a309b286fb38060d7a4a6c6 /lib/chef/node | |
parent | 00f35ace0da4920ce93f0aa6883b55010136166e (diff) | |
download | chef-12cbb07a4275058476a4618813963a945fde2451.tar.gz |
Revert "remove comments + debugging"
This reverts commit 9fe57c38a57135c7bd29ff05a1c7839a4d30c38c.
Diffstat (limited to 'lib/chef/node')
-rw-r--r-- | lib/chef/node/attribute.rb | 2 | ||||
-rw-r--r-- | lib/chef/node/immutable_collections.rb | 1 |
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 |