Issue #21947 has been updated by Henrik Lindberg.
Missing error message...
fixed (push coming)
<pre>
puppet apply --parser=future -e 'notice("foo $HOSTADDRESS$ bar")'
Error: Could not parse for environment production: The name 'HOSTADDRESS' is
not a legal name. at line 1:14
</pre>
----------------------------------------
Bug #21947: Error: uninitialized constant Puppet::Pops::Issues::ILLEGAL_NAME
https://projects.puppetlabs.com/issues/21947#change-95572
* 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.