Issue #21947 has been updated by Charlie Sharpsteen.
Status changed from Unreviewed to Accepted
Assignee set to Henrik Lindberg
Affected Puppet version set to 3.2.3
Keywords changed from parser = future to future_parser
This is reproducible:
<pre>
# puppet apply --parser=future -e 'notice("foo $HOSTADDRESS$ bar")'
Error: Could not parse for environment production: uninitialized constant
Puppet::Pops::Issues::ILLEGAL_NAME on node muninn.boxnet
Error: Could not parse for environment production: uninitialized constant
Puppet::Pops::Issues::ILLEGAL_NAME on node muninn.boxnet
</pre>
Thanks for reporting!
----------------------------------------
Bug #21947: Error: uninitialized constant Puppet::Pops::Issues::ILLEGAL_NAME
https://projects.puppetlabs.com/issues/21947#change-95474
* Author: Krishna Dole
* Status: Accepted
* Priority: Normal
* Assignee: Henrik Lindberg
* Category: parser
* Target version:
* Affected Puppet version: 3.2.3
* Keywords: future_parser
* Branch:
----------------------------------------
When running with parser = future, there appears to be a bug in
pops/validation/checker3_1.rb: it refers to the constant Issues::ILLEGAL_NAME,
which is not defined anywhere.
This came up because I had a double-quoted string with unintentional variable
interpolation: "foo $HOSTADDRESS$ bar". This should have had single quotes, so
yay for the checker for detecting there was a problem, but it blew up when it
encountered it.
--
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.