Hello,
this work :
hiera -d -c /etc/puppetlabs/puppet/hiera.yaml core::packages ::environment=production ::osfamily=RedHat
this does not (at least on my platform) :
hiera -d -c /etc/puppetlabs/puppet/hiera.yaml core::packages ::environment=production ::os.family=RedHat
(note the dot between os and family).
In the hiera-rchy I have levels like :
%{::environment}/hieradata/os/%{::os.family}/%{::os.release.major}"
I works fine with lookups in puppet 5 but not from the hiera command line.
I use the hiera command line tool for debugging.
With the last version of hiera.
My syntax in hiera.yaml is still in version 3.
How do you query with the command line and some structured facts in the variable interpolation of the levels in hiera ?
I can't find any doc. or information about that.
Thanks in advance.
Louis Coilliot