Issue #22442 has been reported by Alex D.

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

* Author: Alex D
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: puppet future parser ILLEGAL_NAME
* 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:
# puppet apply --parser future -e '$Aaa = 1;notice("Variable = $Aaa")'
Notice: Scope(Class[main]): Variable = 1
Notice: Finished catalog run in 0.16 seconds

But this one does not:
# 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


-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
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