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
--
Scanned by iCritical.
|