summaryrefslogtreecommitdiff
path: root/lib/chef/formatters
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-03-12 18:50:49 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-03-12 21:20:29 -0700
commit6b95fbfeb12c18ead46afacfd68cd371350edb2c (patch)
treee17dbc4f969a4ad6cf33a7082a1f45a4d8ba21b9 /lib/chef/formatters
parent37df22c7d252b2430163dd81dc6c4abc98f88c55 (diff)
downloadchef-6b95fbfeb12c18ead46afacfd68cd371350edb2c.tar.gz
Turn off notifications from log resource by default
This should be switched to the notify_group resource now. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/formatters')
-rw-r--r--lib/chef/formatters/doc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb
index 0a4edd2f8b..88f332626c 100644
--- a/lib/chef/formatters/doc.rb
+++ b/lib/chef/formatters/doc.rb
@@ -273,7 +273,7 @@ class Chef
# Called when a resource has no converge actions, e.g., it was already correct.
def resource_up_to_date(resource, action)
@up_to_date_resources += 1
- puts " (up to date)", stream: resource
+ puts " (up to date)", stream: resource unless resource.suppress_up_to_date_messages?
unindent
end