Issue #3129 has been updated by James Turnbull.

Category set to RAL
Status changed from Unreviewed to Investigating
Assigned to set to James Turnbull
Priority changed from High to Normal
Target version set to 0.25.5


----------------------------------------
Bug #3129: Problem using a number as as class name
http://projects.reductivelabs.com/issues/3129

Author: Mike Culbertson
Status: Investigating
Priority: Normal
Assigned to: James Turnbull
Category: RAL
Target version: 0.25.5
Affected version: 0.25.3
Keywords: 
Branch: 


I've run into what looks like a bug when using a number as a class name in a 
nested class.  There are no errors while parsing the class itself, but when the 
manifest gets to the point where I actually include the class, this happens:
<pre>
err: Could not parse for environment development: Syntax error at ':'; expected 
'}' at /etc/puppet/development/modules/sol/manifests/init.pp:77
</pre>

The include line is:
<pre>
include sol::network::10
</pre>

If I double-quote the class name, the error does not occur.  I've attached 
debug+trace logs from puppetd, puppetmasterd and a (slightly redacted) copy of 
the init.pp from the module in question.  This is the only manifest in this 
particular module.  However, I do have numeric class names elsewhere in other 
modules, and they all erorred out the same way until I quoted the class names, 
so it does not appear to be unique to this module or class.

TIA

-Mike



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