Skip to content

Commit

Permalink
Fix addition of an extra nagios server defined via the allowed_hosts …
Browse files Browse the repository at this point in the history
…attribute
  • Loading branch information
Stanislav Bocinec committed Sep 9, 2014
1 parent 3a268de commit 6645f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
end

# add any extra nagios servers defined via the 'allowed_hosts attribute'
mon_host.concat node['nrpe']['allowed_hosts'] if node['nrpe']['allowed_hosts']
mon_host << node['nrpe']['allowed_hosts'] if node['nrpe']['allowed_hosts']

include_dir = "#{node['nrpe']['conf_dir']}/nrpe.d"

Expand Down

0 comments on commit 6645f50

Please sign in to comment.