tas50/chef-nrpe — pull request #15 by rarenerd (2014-08-05 09:17:12+00:00)
Title: Let a server find and add other servers to it's mon_host array

Currently on a secondary Nagios server will never add other Nagios servers to the mon_host array.

Reworking the logic by removing the first if statement resolves this. The if statement can be safely removed because it is actually redundant. A couple of lines down (49/47) it was duplicated.