Issue #5456 has been updated by Michael Scherer. File 0001-allows-rpm-based-package-managers-to-cleanly-support.patch added
---------------------------------------- Feature #5456: package type should accept virtual package for rpm https://projects.puppetlabs.com/issues/5456 Author: Michael Scherer Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.6.4 Keywords: Branch: Rpm ( like many similar package systems ) define a system of virtual package, with the tag Provides. For example, on Mandriva, we have : $ rpm -q --provides perl-Term-Size-Any-0.1.0-2mdv2010.1 perl(Term::Size::Any) = 0.1.0 perl-Term-Size-Any = 0.1.0-2mdv2010.1 So I can use "urpmi perl(Term::Size::Any)" to install the rpm. On puppet, the type package do not seem to take this fully in account. if I use this : package { 'perl(Term::Size::Any)': ensure => installed } The package is installed, but I see a error message : err: /Stage[main]//Node[valstar]/Package[perl(Term::Size::Any)]/ensure: change from absent to present failed: Could not find package perl(Term::Size::Any) Here is a patch that fix this. It should allows to use any Provides for all rpm based package managers, but I only checked with urpmi and yum. It should work ok on all of them, since using a Provides instead of the exact rpm name is a very common feature. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
