I'm struggling a little bit with this one.

Some of my puppet nodes have lights-out management. For those that do, I want to put the IP address of their iLOM card in Hiera and have that appear as the notes_url in nagios_host{}.

This works well for hosts that *do* have iLOM, but for those with no Hiera variable called ilom I don't want notes_url to be defined at all. Setting notes_url => undef doesn't work because it is still written out in the nagios config and the url appears clickable, but with no link behind it. Setting notes_url => absent actually sets it to the string 'absent'.

Is there an elegant way of handling this so my iLOM-able hosts have clickable iLOM links in Nagios while the non-iLOM-able hosts don't have anything at all?

Thanks,
Jonathan

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53621CAD.6020909%40bristol.ac.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to