Issue #3499 has been reported by Ashley Penney.
----------------------------------------
Bug #3499: RPM provider keeps trying to install the same version over and over
http://projects.puppetlabs.com/issues/3499
Author: Ashley Penney
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.4
Keywords: rpm provider package
Branch:
I looked into the code but swiftly got lost and decided to just report it
instead:
package { "openssh-client":
ensure => present,
provider => rpm,
source =>
"http://puppet/packages/openssh-clients-5.1p1-3.x86_64.rpm",
require => Package["openssh"],
}
Results in:
err: //ssh::sftp/Package[openssh-client]/ensure: change from absent to present
failed: Execution of '/bin/rpm -i --oldpackage
http://puppet/packages/openssh-clients-5.1p1-3.x86_64.rpm' returned 1:
package openssh-clients-5.1p1-3.x86_64 is already installed
-sh-3.2# rpm -qa | grep openssh-cl
openssh-clients-5.1p1-3
I suspect the issue here is that it is matching openssh-clients-5.1p1-3.x86_64
(including the .x86_64) against openssh-clients-5.1p1-3 and deciding that the
package is uninstalled and trying to install it. I can't confirm this in the
code but this is constantly annoying and causes my reporting to look a mess as
it fails time and time again.
--
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.