Issue #1686 has been updated by luke. Status changed from Unreviewed to Needs design decision Assigned to set to luke
Ugh. This is what I get for allowing '-' in the class names. Should we change the variable names to support '-', or should we just consider this a permanent problem, or what? ---------------------------------------- Bug #1686: Class names containing '-' cannot be used to scope variables http://projects.reductivelabs.com/issues/show/1686 Author: josh Status: Needs design decision Priority: Normal Assigned to: luke Category: language Target version: Complexity: Unknown Affected version: 0.24.5 Keywords: Class names containing '-' cause a parse error when used to specify variable scope. Sample manifest: <pre> class my-class { $test = "content" } class anotherclass { $other = $my-class::test } </pre> And the parse error: > err: Could not parse for environment production: Could not match > '-class::test' at /etc/puppet/manifests/test.pp:6 ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
