Issue #1686 has been updated by Luke Kanies.

Assigned to deleted (Luke Kanies)


----------------------------------------
Bug #1686: Class names containing '-' cannot be used to scope variables
http://projects.puppetlabs.com/issues/1686

Author: Josh Anderson
Status: Accepted
Priority: Normal
Assigned to: 
Category: language
Target version: 
Affected version: 0.24.8
Keywords: 
Branch: 


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://projects.puppetlabs.com/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