Hi my dear puppeteers,
I am currently migrating code which used to work in a Puppet 3.8 / Hiera 1.3 setup.
After scratching my head a little regarding some Hiera lookup errors, I realized that those were due to some of the keys' names.
e.g :
Looking up for 'classes', defined like this ...
classes: ["::role::somerole"]
... is successfull
DEBUG: Found classes in common
["role::somerole"]
However, looking up for 'zbackbone-datamanager-svrtest.version' defined like this ...
zbackbone-datamanager-svrtest.version: "1.3.7"
... is NOT successfull
nil
Renaming the key to **zbackbone-datamanager-svrtestversion** ( witout the dot . ), makes hiera find the key :
DEBUG: Found zbackbone-datamanager-svrtestversion in common
1.3.7
I suppose this is a change from Hiera 1.3 to Hiera 3.2.
Is there a part of the Hiera documentation which specifies the key names limitations ?
Thanks beforehand
↧