-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I want puppet to manage some packages. On CentOS, puppet correctly
uses the yum provider to manage rpms. Normally I can do:
package { ...:
ensure => present
}
but the rpms I want to install conflict with existing rpms.
Ok, you say. so "ensure => present" on the ones I want and "ensure =>
absent" on the ones to remove.
How do I cope with the fact that there are other installed packages
that depend on the ones I want to remove?
The new packages will fulfill the dependency as well, so effectively I
just want to force the transaction.
Effectively, I want puppet/yum to execute ``rpm -e --nodeps``; can I
tell puppet to do it that way? Or do I need to find a workaround, such
as an exec?
- --
Duncan Hutty
http://www.allgoodbits.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools -
http://gpgtools.org
Comment: Using GnuPG with Mozilla -
http://www.enigmail.net/
iEYEARECAAYFAlBp9t8ACgkQCFuTFybf1wrG/wCcD6uBPihYc4eXwql23ae4RUEr
WeoAoIWIdVv4XDi43S1hH73DjcEUMgGc
=BNC1
-----END PGP SIGNATURE-----