Closed antaflos closed 10 years ago
Would the attached code do for you?
Probably, though I have worked around that now by putting the Libvirt lenses into our puppet-libvirt module's lib/augeas/lenses
directory. But I'll see if I can test this somewhere.
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 thelibvirt-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?