Issue #2665 has been updated by Jesse Wolfe.

File 0001-Bug-2665-Regexp-exception-on-in-package-names.patch added

Subject: [PATCH/puppet 1/1] Bug #2665: Regexp exception on ++ in package names

This affects several providers:
dpkg, rug, up2date, urpmi

Fixed by escaping the package names with Regexp.escape

----------------------------------------
Bug #2665: regex problem with package names containing ++
http://projects.reductivelabs.com/issues/2665

Author: Jon Weintraub
Status: Accepted
Priority: Normal
Assigned to: 
Category: package
Target version: 0.25.2
Affected version: 0.24.8
Keywords: regex parsing metacharacter escaping
Branch: 


The package name is gcc-c++ , the puppet client and puppetmaster are 0.24.8. 
The manifest has:
    package { "gcc-c++": ensure => latest }

If a puppet connects from a host that does not have that package at all, the 
processing proceeds normally.

If a puppet connects from a host that has the package installed, processing 
yields this error:
 (//Node[hostname]/[manifest-include-fn]/Package[gcc-c++]) Failed to retrieve 
current state of resource: Could not get latest version: nested *?+ in regexp: 
/^gcc-c++-(\d+.*)\.\w+/


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