Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove trailing whitespaces #149

Merged
merged 1 commit into from
Jan 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/puppet/reports/datadog_reports.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down