Closed fatmcgav closed 10 years ago
I'm guessing it's a bug actually, as the Hiera yaml backend has that line present: https://github.com/puppetlabs/hiera/blob/master/lib/hiera/backend/yaml_backend.rb#L43-L44
yeah, make a PR and I'll merge that
thanks
I seem to be hitting an issue when using this module in combination with hash resources.
The error I'm seeing is:
The code around there is:
As you can see, I've tried both
hiera_resources
andhiera_hash
, and both return the same result.And my
common.yml
contains:From a bit of debugging, I've tracked it to: module_data_backend.rb#83.
If I add an additional line before that with:
then it all works as expected.
Is this a known issue? Way I'm using it? Or a genuine bug?
Cheers Gav