Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
XMol opened this issue Mar 24, 2021 · 3 comments
Closed

Comments

@XMol
Copy link

XMol commented Mar 24, 2021

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 ---.

  • Puppet version: 5.5.22
  • Module version: 1.9.0

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
Copy link

simontunnat commented Mar 26, 2021

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

  • Puppet version: 6.21.1
  • Module version: 1.9.0

@raphink
Copy link
Member

raphink commented Mar 31, 2021

This should be fixed in #85

@raphink raphink closed this as completed Mar 31, 2021
@XMol
Copy link
Author

XMol commented Mar 31, 2021

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants