Issue #2664 has been updated by James Turnbull.

Status changed from Ready for Checkin to Closed

Pushed in commit:"ce46be5773656f68eddc7edd6212e283b46f9320" in branch 0.25.x
----------------------------------------
Bug #2664: regexp parse error
http://projects.reductivelabs.com/issues/2664

Author: Steve Feehan
Status: Closed
Priority: High
Assigned to: James Turnbull
Category: parser
Target version: 0.25.1
Affected version: 0.25.0
Keywords: hotfix in 0.25.1
Branch: http://github.com/MarkusQ/puppet/tree/ticket/master/2664


puppet 0.25.0 seems to confuse division with a regexp. For example:

<pre>
$value = 4096 / 2

file { "/tmp/test.txt":
  content => "$value";
}
</pre>

Produces the following output:

<pre>
$ puppet division.pp 
/opt/ruby-1.8.7/lib/ruby/site_ruby/1.8/puppet/parser/lexer.rb:181: warning: 
regexp has invalid interval
Could not parse for environment production: Syntax error at '(?-mix: 2

file { ")' at /tmp/division.pp:1
$ 
</pre>

This same manifest works fine with puppet 0.24.8.


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