Bug 464472
| Summary: | [PATCH] Puppet doesn't deal with RPM provides correctly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Lubomir Rintel <lkundrak> | ||||
| Component: | puppet | Assignee: | David Lutterkort <lutter> | ||||
| Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | el5 | CC: | hbrock, k.georgiou, lutter, mastahnke, tmz, vanmeeuwen+fedora | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | ActualBug | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-11-26 07:31:35 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
A side note; the way I differentiate between packages and provides is rather ugly. Another option would to rewrite the whole rpm.rb to use rpmlib directly (does a ruby backend exist at all?) -- launching rpm --provides for each installed package would take too much time. Now I realize the patch probably cause a regression when an installed package provide what is other installed package's name and you want to ensure the other installed package to be absent. (In reply to comment #0) > Created an attachment (id=317948) [details] > Add support for RPM provides > > Attaching a self-explainatory patch. It enables you to say something like, no > matter if perl(Test::More) comes from "perl" or "perl-Test-More" RPM. > > package { "perl(Test::More)": ensure=> installed; } > Interesting, but how well does this work for package managers other then RPM? |
Created attachment 317948 [details] Add support for RPM provides Attaching a self-explainatory patch. It enables you to say something like, no matter if perl(Test::More) comes from "perl" or "perl-Test-More" RPM. package { "perl(Test::More)": ensure=> installed; }