Issue #14845 has been updated by Gregory Orange. File portupgrade.latest.installabsent.patch added Target version set to 2.7.19
I had an inverted problem to that in the bug description. With ensure => latest defined, already-installed packages would update to the latest version, but absent packages would not install. The attached patch fixed it, and sgran on the IRC channel encouraged me to submit it here. I'm running FreeBSD 8.3, puppet 2.7.18. ---------------------------------------- Bug #14845: portupgrade.rb -> ensure latest issue https://projects.puppetlabs.com/issues/14845#change-67334 Author: jayendren maduray Status: Accepted Priority: Normal Assignee: Category: package Target version: 2.7.19 Affected Puppet version: Keywords: package provider Branch: Summary: - FreeBSD 8.2 host, - file: /usr/local/lib/ruby/site_ruby/1.8/puppet/provider/package/portupgrade.rb - facter version: 1.6.5 - When a class is defined with: <pre> package { "something/somepkg": ensure => "latest", provider "portupgrade" } </pre> - If the package is outdated, it is never upgraded, since the parameters passed to portupgrade do not include the package name. Steps to Reproduce: Class included in node file: -- 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.
