Closed raoulbhatia closed 3 years ago
ah - i just realized that augeas::purge
defaults to true
... who would have expected such a thing ...
I agree. The first mistake looks like allowing a purge in a system directory (for puppet open-source 3 only). The second is to make purge:true the default. But since this affects only Puppet 3, I'm not sure if they'll want to change it.
Good points. It's true that we didn't really encounter the problem in the past because we had no lenses in /usr/share/augeas/lenses
, and then we moved to Puppet 4…
Honestly, I'd just rather deprecate Puppet 3 at that point, as done in most other modules.
FYI Ubuntu 17.10 uses Puppet 4.10. However, 18.04 LTS uses Puppet 5.4.0 so dropping support for Puppet < 5 should be good eventually. I still need to try if the behavior changed under Ubuntu 18.04 LTS though.
@raoulbhatia Puppet 3 is not supported anymore, but Puppet 4 will be supported for nearly a year I think.
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.
I am using Ubuntu 17.10 with the official Ubuntu packages (see !65) and manually set
augeas::lens_dir: '/usr/share/augeas/lenses'
as taken fromparams.pp
.However, lenses provided by other packages, i.e. libvirt-daemon, got purged.