camptocamp/puppet-augeas — pull request #32 by raphink (2014-03-03 11:16:56+00:00)
Title: Module purges lens files installed by other packages (libvirt-bin in this case)

On Ubuntu 12.04 the package `libvirt-bin` installs the libvirt-related Augeas lenses to `/usr/share/augeas/lenses` (and the tests to `/usr/share/augeas/lenses/tests`). The puppet-augeas module, however, purges everything in that directory, including the lenses installed by the `libvirt-bin` package.

We can work around this by installing the libvirt lenses by means of `augeas::lens` from our own puppet-libvirt module, but I think overall it is not quite right to purge files properly and correctly installed by another, unrelated package.

Or is the libvirt package to blame here because it should have installed the lenses elsewhere?