Hi,

bumping an older thread, because that just caught my eye.

On 01/21/2014 11:39 PM, Pete Brown wrote:
> I would suggest putting defaults in your modules so you don't need to
> set so many variables.

I started actively avoiding that, actually, for the reason that hiera
values may see use in different parts of a module, e.g. in the manifests
and one or more templates. Adding a default to each of those hiera()
calls adds potential for inconsistencies, especially when a default
changes at one point.

Therefor, the hiera values that are expected by modules get mandatory
defaults from the bottom of my hierarchy.

Any feedback is welcome though.

Thanks,
Felix

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/52F49E1A.9070006%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to