Issue #5268 has been updated by Erik Dalén.

Status changed from Closed to Re-opened

Unfortunately dashes still work in class names in 3.0.x:

test.pp:
<pre>
class test-case {
  notice('test')
}
include test-case
</pre>

console:
<pre>
$ puppet apply test.pp
Notice: Scope(Class[Test-case]): test
Notice: Finished catalog run in 0.05 seconds
$ puppet --version
3.0.2
</pre>
----------------------------------------
Bug #5268: hyphen in class name messes with qualified variables
https://projects.puppetlabs.com/issues/5268#change-80057

Author: Eric Snow
Status: Re-opened
Priority: Normal
Assignee: eric sorenson
Category: 
Target version: 3.x
Affected Puppet version: 
Keywords: 
Branch: 


$module::class-name::variable

This tricks puppet.  I suppose it thinks the "-" is a minus...


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