From f0367f22067322e0536448d259c1b5cf721c643f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denny=20Sch=C3=A4fer?= Date: Tue, 24 Nov 2015 13:04:09 +0100 Subject: [PATCH] Remove trailing whitespaces --- lib/puppet/reports/datadog_reports.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet/reports/datadog_reports.rb b/lib/puppet/reports/datadog_reports.rb index ac81efd5..a3c81c68 100644 --- a/lib/puppet/reports/datadog_reports.rb +++ b/lib/puppet/reports/datadog_reports.rb @@ -57,7 +57,7 @@ def process elsif @status == "unchanged" event_title = "Puppet ran on, and left #{@msg_host} unchanged" alert_type = "success" - else + else event_title = "Puppet ran on #{@msg_host}" alert_type = "success" end @@ -76,7 +76,7 @@ def process config_version_blurb = if defined?(self.configuration_version) then "applied version #{self.configuration_version} and" else "" end event_data << "Puppet #{config_version_blurb} changed #{pluralize(changed_resources.length, 'resource')} out of #{total_resource_count}." - + # List changed resources if changed_resources.length > 0 event_data << "\nThe resources that changed are:\n@@@\n"