voxpupuli / puppet-augeas

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

Problem running augeas resources under puppet 5 #68

Closed walterheck closed 3 years ago

walterheck commented 6 years ago

We faced a problem when upgrading to puppet 5. Leaving an issue here because it should probably be fixed in this module. The error message we got is:

Could not evaluate: unknown error - Failed to initialize Augeas
Debug: Etc_services[clusterviewd/tcp]: Resource is being skipped, unscheduling all events

after hunting things down a bit it turned out that the etc_services module was outdated. That then lead us to diff those two versions: https://github.com/ccin2p3/puppet-etc_services/blob/v1.1.1/manifests/init.pp and https://github.com/ccin2p3/puppet-etc_services/blob/v1.0.0/manifests/init.pp.

When examined carefully it turns out that an augeas resource without incl and lens attributes will cause the above error in puppet 5.

raphink commented 6 years ago

Thanks for the issue. The Augeas resource is a core resource in Puppet. This module only manages the Augeas package and extra lenses, so I think the bug should be open against Puppet itself.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.