Issue #22442 has been updated by Charlie Sharpsteen.

Description updated
Category set to parser
Status changed from Unreviewed to Needs Decision
Assignee set to Henrik Lindberg
Keywords changed from puppet future parser ILLEGAL_NAME to future_parser

Confirmed on 3.2.4. Henrik, any thoughts about this?

----------------------------------------
Bug #22442: puppet-3.2.4 future parser Puppet::Pops::Issues::ILLEGAL_NAME for 
capitalized variables.
https://projects.puppetlabs.com/issues/22442#change-97314

* Author: Alex D
* Status: Needs Decision
* Priority: Normal
* Assignee: Henrik Lindberg
* Category: parser
* Target version: 
* Affected Puppet version: 
* Keywords: future_parser
* Branch: 
----------------------------------------
When running with "future" parser any capitilized variable rises 
Puppet::Pops::Issues::ILLEGAL_NAME error. Please see the example below:

This one works fine:
<pre>
# puppet apply --parser future -e '$Aaa = 1;notice("Variable = $Aaa")'
Notice: Scope(Class[main]): Variable = 1
Notice: Finished catalog run in 0.16 seconds
</pre>

But this one does not:
<pre>
# puppet apply --parser future -e '$AAA = 1;notice("Variable = $AAA")'
Error: Could not parse for environment production: uninitialized constant 
Puppet::Pops::Issues::ILLEGAL_NAME on node bc5.x64.int
Error: Could not parse for environment production: uninitialized constant 
Puppet::Pops::Issues::ILLEGAL_NAME on node bc5.x64.int

# puppet --version
3.2.4
</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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to