Hey Tim, thanks for your answer.
> hiera() can take a second argument which is the default you want to > supply if no data store provides a value. Before you ask, no, I don't > know where that's documented, but we've been using it for a while in > our puppet manifests and it has been mentioned on the list even today. I actually knew about that already but if I use that I'll have to revert to some "magic" value as the default because it can't be nil for example I'd have to do hiera('foo', 'MAGIC') and then check for 'MAGIC' in my if statement. That's not a big deal but I had hoped there would be a way to have a really "optional" lookup. Cheers, Lars -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.