opscode/cookbooks — comment on commit 90981b38d35054c3d6c05669d8cfc3be22e8bb9c
File: nagios/templates/default/services.cfg.erb line 132
By andreacampi:

I don't understand this line…

```service['hostgroup_name'].nil? && service['hostgroup_name'] != 'all'``` will just evaluate to true or false; either way, ```@service_hosts[boolean]``` will likely return nil, and the unless will pass.

What am I missing?