Closed h4l closed 4 months ago
This issue has been marked stale because it is open with no recent activity. The PDK Team is actively prioritizing existing bugs and new features, if this issue is still important to you please comment and we will add this to our backlog to complete.
@h4l Hey, just checking that this is still an issue you are seeing, having some difficulty replicating
Hey @david22swan, thanks for checking. I'm not sure to be honest, as I'm using PDK inside a linux container when developing now, I don't have it installed natively on OSX any longer. This must be quite a niche use-case (combination of using Augeas, and using it via PDK on OSX), so it could be pragmatic to shelve this unless anyone else turns up with the same problem.
This was fixed by https://github.com/puppetlabs/puppet-runtime/pull/581
Describe the bug PDK ships libaugeas which is built incorrectly on OSX, augeas functionality does not work as a result.
To Reproduce Two Puppet and Ruby programs to demonstrate this:
I've got a separate copy of augeas from Homebrew which does work.
As already reported in #743, PDK does not ship with any augeas lenses:
If we use the lenses from homebrew's augeas we find PDK's augeas fails to parse the lens files:
If we force the use of libaugeas from homebrew instead of PDK it works as expected:
Same story when using augeas via puppet:
The issue seems to be caused by the augeas library — its own build scripts are compiling it incorrectly on OSX: https://github.com/hercules-team/augeas/issues/729
Homebrew has a build of augeas which works around the issue: https://github.com/Homebrew/homebrew-core/issues/83407#issuecomment-901370788
Expected behavior Augeas should work.
Additional context