Issue #20015 has been reported by Luke M.
----------------------------------------
Bug #20015: package => latest tries to downgrade package
https://projects.puppetlabs.com/issues/20015
* Author: Luke M
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* Affected Puppet version: 2.7.21
* Keywords:
* Branch:
----------------------------------------
It appears that when specifying 'latest' this means the latest just in the repo
even if the server itself has a newer version. I would expect that 'latest'
would mean the newest version available regardless of the source.
In our manifest:
package{'facter':
ensure => latest,
provider => 'gem',
}
What is installed locally:
# gem list facter
*** LOCAL GEMS ***
facter (1.6.18)
What the repo has:
# gem list -r facter
*** REMOTE GEMS ***
facter (1.6.17)
What puppet tries to do:
notice: /Stage[main]/Puppet::Client::Hpux/Package[facter]/ensure: ensure
changed '1.6.18' to '1.6.17'
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.