[Puppet Users] Re: hiera + module init.pp interaction

2015-02-25 Thread justin parker
Then it has to be a malformed hiera yaml. Thanks for your response Drew. On Wednesday, February 25, 2015 at 4:52:14 PM UTC-5, Drew wrote: > > Puppet does automatic lookups in hiera for data in variables, or you can > do the call explicitly by calling the 'hiera' funciton. Just because it is >

[Puppet Users] Re: hiera + module init.pp interaction

2015-02-25 Thread Drew
Puppet does automatic lookups in hiera for data in variables, or you can do the call explicitly by calling the 'hiera' funciton. Just because it is in init.pp doesn't make it any different than any other puppet file. Unless I misunderstand, you would call it like so: $my_variable = hiera('my_h