Skip to content

Commit

Permalink
Merge pull request #42 from glensc/newline
Browse files Browse the repository at this point in the history
always include newline in resource files
  • Loading branch information
sbotman authored Aug 12, 2016
2 parents 2e50121 + 93a1a96 commit 052b179
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def whyrun_supported?
file_contents += " -w #{new_resource.warning_condition}" unless new_resource.warning_condition.nil?
file_contents += " -c #{new_resource.critical_condition}" unless new_resource.critical_condition.nil?
file_contents += " #{new_resource.parameters}" unless new_resource.parameters.nil?
file_contents += "\n"

f = file config_file do
owner 'root'
group node['nrpe']['group']
Expand Down

0 comments on commit 052b179

Please sign in to comment.