Issue #3129 has been updated by Mike Culbertson. File puppetd.log added File puppetmaster.log added
Just realized I attached the wrong init.pp, but in the process it showed the same bug in another location. I had temporarily renamed the class to the fully qualified "solaris::network::10" when it should be just "10", and I forgot to switch it back before generating the logs. However, in the first set of attached logs, it looks like puppetmaster *is* throwing an error when the class name is nested and includes a number, so it's not only happening on the "include" line. Compare to the second set of logs. ---------------------------------------- Bug #3129: Problem using a number as as class name http://projects.reductivelabs.com/issues/3129 Author: Mike Culbertson Status: Unreviewed Priority: High Assigned to: Category: Target version: 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.
