From ea016bda0f9c1670ac7ce1471ae10a50552d7f3e Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 16 May 2018 16:18:22 -0700 Subject: Add default_action to the resource inspector This is a very useful thing to know about a resource. Signed-off-by: Tim Smith --- lib/chef/resource_inspector.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/chef/resource_inspector.rb b/lib/chef/resource_inspector.rb index b112cb0565..f4c745c080 100644 --- a/lib/chef/resource_inspector.rb +++ b/lib/chef/resource_inspector.rb @@ -28,6 +28,7 @@ module ResourceInspector data = {} data[:description] = resource.description # data[:deprecated] = resource.deprecated || false + data[:default_action] = resource.default_action data[:actions] = resource.allowed_actions data[:examples] = resource.examples data[:introduced] = resource.introduced -- cgit v1.2.1