Also, if the future parser is not an option for you, the hiera_undef module provides hiera functions that return undef when no value is found in hiera: https://forge.puppetlabs.com/camptocamp/hiera_undef
We used this write heavily to wrap puppet classes and emulate data bindings when migrating from puppet 2 to 3. Cheers, Raphaƫl -- 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/9f87c1ed-84cd-4115-8a88-a34353325901%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.