Issue #14704 has been updated by Brice Figureau.

Capitalized hash keys are parsed as resource references, because that's the 
only legal keyword type in the DSL.
The workaround is to quote those keys when they are capitalized.
----------------------------------------
Bug #14704: Capitalised hash keys do not parse
https://projects.puppetlabs.com/issues/14704#change-66239

Author: James Turnbull
Status: Needs Decision
Priority: Urgent
Assignee: Daniel Pittman
Category: parser
Target version: 
Affected Puppet version: 2.7.14
Keywords: hash key capitalised parse error
Branch: 


Hash keys with leading capitals do not parse.

This does not parse:

<pre>
$packages = {
Mysql-cluster => {version => '7.1.21-1.sles11'}
}
</pre>

This parses:

<pre>
$packages = {
mysql-cluster => {version => '7.1.21-1.sles11'}
}
</pre>




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