Open cg505 opened 4 years ago
Looks like 1.12.0-2
was released today, so whenever that is available for us in sid
we could backport to make this warning go away.
Thanks for commenting on the debian bug, looks like that helped get things moving on a fix!
I am surprised that they do not consider this a bug in Buster (since default augeaus and conf in buster doesn't work).
Hopefully they just backport this to buster actually, I guess that could happen.
They might do, but it's also pretty quick and easy for us to backport it if they don't end up doing that at least.
I backported the newer version (1.12.0-2
) for buster and tested installing it on a buster VM, but it did not remove the warning. I also noticed while doing this that augeas appears to have been separated out into a module (https://forge.puppet.com/puppetlabs/augeas_core) as of puppet 6.x. I tried using that but that also made no change in the warning printed, even alongside the backported augeas version installed.
Upon further inspection, it seems the puppet-agent
package is providing the lens that needs patching (at /opt/puppetlabs/puppet/share/augeas/lenses/dist/postfix_master.aug
) instead of the augeas-lenses
package (at /usr/share/augeas/lenses/dist/postfix_master.aug
), so we can probably just uninstall augeas-lenses
across all hosts, and I think it's just a holdover from when we used non-puppetlabs puppet packages.
Unfortunately, it'll be harder to patch that lens file and we should probably submit a puppet-agent bug to puppetlabs and try and get them to patch it in some future release.
Sure, but I think that won't actually fix our issue, as we're not using that package for augeas lenses, we're using the ones bundled within puppet-agent
instead, if that makes sense
There's no recent augeas release (the latest was 1.12.0
on 2019-04-03
, and the bug was fixed on 2019-06-28
), so I don't think puppet-agent can update to a newer augeas to fix this just yet. Essentially I think we need to wait for the next augeas release in 1.13.0
(or push for a new release), and then get puppet-agent to upgrade to that newer augeas version so we can use it.
At least this is just a warning, but it's fairly noisy :(
On buster hosts, puppet shows this warning
and the resource in question is not deployed.
This is due to an upstream bug. Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930888 and augeas-lenses: https://github.com/hercules-team/augeas/pull/636.