I have some rpms that need to be installed with --nodeps
Thanks,
Steven
Thanks for reporting this.
I've pushed a commit fixing this issue. It'll be in the forthcoming
0.24.8 release.
Regards
James Turnbull
- --
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJpBHE9hTGvAxC30ARAgZ3AJ9V2X6bDNL0DFUW6qB8+MkIF4RfNACfQD1l
osORC6Q7r22k7XX6Oj/FQDA=
=UuGK
-----END PGP SIGNATURE-----
What sort of packages do you need to do this with? It sounds like
broken packages (which often come from proprietary vendors that don't
know how to package properly :).
There are probably better ways to handle this sort of breakage. For
example, create dummy packages that "provide" the dependencies.
Of course, I'm just guessing at what you really need to do, so I could
be way off.
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Erotic is when you use a feather, kinky is when you use the whole
chicken.
-- C. Haynes.
I was hoping not to have to create a either a modified rpm or a dummy
one.
So far, it sound like creating a dummy package or modifying the puppet
rpm provider are my best choices.
Thanks,
Steven
I would urge you to go the dummy package root. It is good practice
generally, not just for puppet; it keeps your package database
consistent and healthy *and* (very importantly) it documents your
intent. If you just force --no-deps, how will you (or somebody filling
in while you are ill, on holiday, under a bus etc.) know which broken
dependencies on a system are evidence of error and breakage and which
are deliberate policy?
--
Bruce
I unfortunately do not know how to turn cheese into gold.