diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-04-02 20:00:28 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-04-02 20:00:28 -0700 |
commit | 2d29c64b267da7ab50102029c6fa1a79a4f02701 (patch) | |
tree | 3686976929f917074df68596c5b40442b8b3c8c8 /lib/chef | |
parent | 8dcf5be92642700ee3f2aedb83484bcf0e2c159c (diff) | |
download | chef-2d29c64b267da7ab50102029c6fa1a79a4f02701.tar.gz |
remove debugging
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index e6a33dc71a..9cdf28dd9a 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -497,22 +497,11 @@ class Chef def state_for_resource_reporter state = {} state_properties = self.class.state_properties -# p = state_properties.find { |p| p.name_property? } -# if p -# pp p -# raise "boom" -# end - state_properties.each do |property| if property.is_set?(self) state[property.name] = property.sensitive? ? "*sensitive value suppressed*" : send(property.name) end end -# identity_properties = self.class.identity_properties -# pp identity_properties -# identity_properties.each do |property| -# state[property.name] = property.sensitive? ? "*sensitive value suppressed*" : send(property.name) -# end state end |