Issue #2900 has been reported by Andrew Forgue.
----------------------------------------
Bug #2900: Rug package provider fails to get latest version
http://projects.reductivelabs.com/issues/2900
Author: Andrew Forgue
Status: Unreviewed
Priority: Normal
Assigned to:
Category: package
Target version: 0.25.2
Affected version: 0.25.1
Keywords:
Branch:
The regexp in the rug provider is :
<pre>if output =~ /#{Regexp.escape @resource[:name]}\s*\|\s*([0-9\.\-]+)/</pre>
It should be:
<pre>if output =~ /#{Regexp.escape @resource[:name]}\s*\|\s*([^\s\|]+)/</pre>
To match crazy versions like:
<pre>v | SLES10-SP1-Updates | | resmgr |
0.9.8_SVNr75-18.9 | x86_64
v | SLES10-SP1-Updates | | wireless-tools |
28pre13-22.16.2 | x86_64</pre>
--
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://reductivelabs.com/redmine/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.