The good news:
Without /etc/puppet/hiera.yaml & Without <module>/data/hiera.yaml = OK!
Without /etc/puppet/hiera.yaml but with empty <module>/data/hiera.yaml = OK!
Without /etc/puppet/hiera.yaml but with <module>/data/hiera.yaml with a hierarchy = OK!
With empty /etc/puppet/hiera.yaml & Without <module>/data/hiera.yaml = OK!
With /etc/puppet/hiera.yaml with a hierarch & Without <module>/data/hiera.yaml = OK!
With /etc/puppet/hiera.yaml with a hierarch & with empty <module>/data/hiera.yaml = OK!
With /etc/puppet/hiera.yaml with a hierarch & with <module>/data/hiera.yaml with a hierarchy = OK!
Lookups via hiera() in a define also seem to work well!
Comment:
The default file looked up in the in-module data backend is 'default.yaml', not 'common.yaml' and
that is different from the yaml backend so it is somewhat confusing.
It is also not what was 'agreed' in this thread.
All this is based on a simple test with a module with one class and one define so it is not very in-depth
but the results are clear and as expected....
Thank you Volcane ! We're getting there. :-)
Regards,
Stefan - Zipkid - Goethals.
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.