Issue #2900 has been updated by James Turnbull.

Status changed from Ready for Testing to Closed

Pushed in commit:"bf7d650a65bc4b97ac72ddf38647766229b3182e" in branch 0.25.x
----------------------------------------
Bug #2900: Rug package provider fails to get latest version
http://projects.reductivelabs.com/issues/2900

Author: Andrew Forgue
Status: Closed
Priority: Normal
Assigned to: 
Category: package
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2900


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.


Reply via email to