mdxp/icinga-cookbook — pull request #2 by michaelcontento (2012-11-21 15:24:05+00:00)
Title: only search for users with icinga_email attribute set

this saves `chef-client` from dying with:

```ruby
Chef::Mixin::Template::TemplateError (undefined method `[]' for nil:NilClass) on line #29:

27: use default-contact
28: contact_name <%= a['id'] %>
29: email <%= a['icinga']['email'] %>
30: }
31:
```