voxpupuli / puppet-augeas

Helper for using augeas with puppet
Apache License 2.0
44 stars 82 forks source link

Avoid "file does not contain a valid yaml hash" warning for puppetserver #86

Closed XMol closed 3 years ago

XMol commented 3 years ago

For every catalog build with this module included, the puppetserver logs a warning with...

Puppet /etc/puppetlabs/code/environments/production/modules/augeas/data/common.yaml: file does not contain a valid yaml hash

Please change the content of data/common.yaml to something that evaluates into a Hash, e.g. just {}, which meets this requirement, as opposed to ---.

This might be an inherent problem with our Hiera data_hash setting (lookup_key), but data_hash sounds like it expects a YAML mapping, too.

simontunnat commented 3 years ago

We have the same issue since we upgraded to the latest version.

raphink commented 3 years ago

This should be fixed in #85

XMol commented 3 years ago

Thank you!