Issue #22442 has been updated by Alex D.
When running with "future" parser any capitalized 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
----------------------------------------
Bug #22442: puppet-3.2.4 future parser Puppet::Pops::Issues::ILLEGAL_NAME for
capitalized variable.
https://projects.puppetlabs.com/issues/22442#change-97215
* 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 [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.