Issue #9639 has been updated by Jeff McCune. Category set to modules Assignee set to Thomas Linkin
Jeff McCune wrote: > Actually, the regular expression looks fine. The host portion of a hostname > cannot start with a number. > > What hostname are you trying to use? Thomas, I believe I had this ticket in a state the above comment wouldn't have been emailed out to you. Could you please let me know what use case the regular expression is failing on? -Jeff ---------------------------------------- Bug #9639: bad mcollectivepe init.pp regex https://projects.puppetlabs.com/issues/9639 Author: Thomas Linkin Status: Needs More Information Priority: Normal Assignee: Thomas Linkin Category: modules Target version: PE 2.0 (Cmdr Keith) Keywords: Branch: Affected URL: Affected PE version: In the file /opt/puppet/share/puppet/modules/mcollectivepe/manifests/init.pp, there is a regex on line 34 that does not account for all types of hostnames as per [[http://www.freesoft.org/CIE/RFC/1123/14.htm]]. Simple edit: 34: validate_re($fact_stomp_server, '^[a-zA-Z]\w*') new 34: validate_re($fact_stomp_server, '^[0-9]|[a-zA-Z]\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://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.
