-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
$lens_dir is not set correctly for systems using the official Debian puppet packages #65
Comments
Unfortunately, I'm not sure if there's a way to distinguish between the Debian-packaged Puppet 4 and the Puppet Inc.-packaged version… This AIO packaging thing is a mess… |
There is a trick you can take from
if ($aio_package) -> use /opt/puppetlabs, if not not. |
this is still a problem on puppet 5 in Debian buster. workaround:
|
I'll welcome a PR if you can find a clean way to detect how to set this value properly. |
Hint: https://github.com/camptocamp/puppet-augeas/pull/67/files is probaly a good start |
yeah, it looks like this might have fixed the bug, but #67 broke unit tests so it needed a little more work... |
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. |
Pong, not stale, still relevant (grrr stalebots :((((( ) |
Puppet 4? should we still support this? or maybe the issue title should be changed to 5 at least?
i used to agree with that sentiment, but this changed my mind: https://00f.net/2021/03/26/it-doesnt-work/ i encourage you to give it consideration next time you meet the stale bot. :) i certainly go much more lightly on those kind of responses now, especially if i'm in a position to do something about the bug myself. ;) |
I also dislike stale bots in general. However I dislike the state of my octobox even more 😁 So long as no client is paying to implement a feature, many open issues get in the way of the (many) protects I maintain, so stale bots are a lesser harm. |
As for this bug still being relevant, i welcome new information regarding Puppet 6 or 7, as support for Puppet 4 and 5 is not relevant anymore. |
I don't run puppet 6 yet (still on 5.5), so it's hard for me to be 100% certain this still happens, but the code I quoted hasn't changed since this bug was opened and I doubt anything in puppet 6+ itself changes this behavior. |
i can confirm this still happens in puppet 5, and the workaround i used is therefore still necessary. i have not tested in p6/7 |
Puppet 5 has been EOL since November 2020, so let's focus on Puppet 6 and 7 and confirm this is still necessary. |
Sad to see puppet 5 being the default on bullseye (not even released), already EOF :/ |
On 2021-05-31 10:18:30, Blindauer Emmanuel wrote:
Sad to see puppet 5 being the default on bullseye (not even released), already EOF :/
it's complicated. turns out jruby is hard too.
https://veronneau.org/puppetserver-6-a-debian-packaging-post-mortem.html
…--
L'homme construit des maisons parce qu'il est vivant, mais il écrit des
livres parce qu'il se sait mortel.
- Daniel Pennac, Comme un roman
|
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. |
Of course it is. |
|
Thats my fix (can't push it right now). Works fine since several years now... |
if you made that a "format-patch" output, i could send a formal PR |
@anarcat needs review anyway, I'll see if I can update it to the latest version. also it would be nice to know if the approach would be accepted at all... |
The rubysitedir condition might be sufficient actually. |
As the title says,
$lens_dir
is not set correctly for systems running Puppet 4 on Debian with the official Debian packages.That is:
The problem lies in
manifest/param.pp
:The proper
$lens_dir
directory should instead be/usr/share/augeas/lenses
. I'm not proposing a patch since I don't have any idea how one could test if the package installed comes from official Debian repositories or not.This problem can be fixed temporarily by passing the right
$lens_dir
value in Hiera, but I feel this should be fixed properly.The text was updated successfully, but these errors were encountered: