Issue #1686 has been reported by josh.
----------------------------------------
Bug #1686: Class names containing '-' cannot be used to scope variables
http://projects.reductivelabs.com/issues/show/1686
Author: josh
Status: Unreviewed
Priority: Normal
Assigned to:
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
-~----------~----~----~----~------~----~------~--~---