Hi,
I've applied the patch in Manchester 4 weeks ago and we've been running without
any problems since then. I didn't want to wait for it to be fixed in puppet. If
you do it, you just have to remember that if you upgrade puppet at some point
you might have to apply the patch again.
Cheers,
Robert
On 10/07/13 22:02, Chris Brew wrote:
> Hi all,
>
> In case it saves someone else half a day staring at their config files and
> debug logs, there's a bug[1] in puppet 3 where if you use %calling_module
> in your hiera hierarchy with the new hiera parameter lookups it doesn't
> work.
>
> I hit it because after Alessandra mentioned the automagic hiera parameter
> lookups I was so impressed that I started to redo all my lookups to use it
> and my default hiera yaml file was looking a bit messy. I then struck upon
> the bright idea of splitting all the parameter lookup variables into
> separate files by module. Since, as the module/class name is coded into
> the variable name anyway, I would not be using the same lookup across
> different modules.
>
> But that doesn't work at the moment so I'll have to put up with the messy
> file for a while.
>
> Yours,
> Chris.
>
> [1] http://projects.puppetlabs.com/issues/21198
>
|