Issue #13213 has been updated by Patrick Carlisle.

Description updated


----------------------------------------
Bug #13213: Yum provider doesn't understand globs
https://projects.puppetlabs.com/issues/13213#change-57545

Author: Abel Lopez
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: yum version
Branch: 


Yum understands globs in regards to version numbers.
On the command line, if I say "`yum install puppet-2.6*`", I will get the 
latest version of 2.6 available, even if a 2.7 version exists in my 
repositories.

If I use this in a manifest, such as 
`ensure => '2.6*'`,
puppet attempts to install "literally `puppet-2.6*`", as if asterisk was a 
version number, producing an error
    err: /Stage[main]/Puppet/Package[puppet]/ensure: change from 2.6.14-1.el5 
to 2.6* failed: Could not update: Failed to update to version 2.6*, got version 
2.6.14-1.el5 instead

Yum exits with `$? = 0` with this format.


-- 
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.

Reply via email to