Skip to content

Commit

Permalink
Merge pull request example42#4 from empi89/patch-1
Browse files Browse the repository at this point in the history
server_address missing line break
  • Loading branch information
alvagante committed Jan 14, 2013
2 parents fd6a467 + 8b5dd68 commit 68eaa54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/nrpe.cfg.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
log_facility=daemon
pid_file=<%= scope.lookupvar('nrpe::pid_file') %>
server_port=<%= scope.lookupvar('nrpe::port') %>
<% if scope.lookupvar('nrpe::server_address') != '' -%>server_address=<%= scope.lookupvar('nrpe::server_address') %><% end -%>
<% if scope.lookupvar('nrpe::server_address') != '' -%>server_address=<%= scope.lookupvar('nrpe::server_address') %><% end %>
nrpe_user=<%= scope.lookupvar('nrpe::process_user') %>
nrpe_group=<%= scope.lookupvar('nrpe::process_user') %>
allowed_hosts=<% if allowed_hosts.class == Array then %><%= allowed_hosts.flatten.join(',') %><% else %><%= allowed_hosts %><% end %>
Expand Down

0 comments on commit 68eaa54

Please sign in to comment.