only search for users with icinga_email attribute set #2

Merged
merged 1 commit into from Nov 21, 2012

Projects

None yet

2 participants

@michaelcontento

this saves chef-client from dying with:

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:
@mdxp mdxp merged commit 1e2b587 into mdxp:master Nov 21, 2012

1 check passed

Details default The Travis build passed
@mdxp
Owner

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment