Issue #3987 has been updated by Nigel Kersten.

Assignee changed from Jesse Wolfe to Randall Hansen
Target version changed from Statler to Telly
Keywords set to usability

Randall, passing to you so you're aware of it and can weigh in.
----------------------------------------
Feature #3987: Allow ${var} with curlies everywhere
https://projects.puppetlabs.com/issues/3987

Author: Alan Barrett
Status: Accepted
Priority: Normal
Assignee: Randall Hansen
Category: parser
Target version: Telly
Affected Puppet version: 0.25.5
Keywords: usability
Branch: 


Inside quoted strings, variables may be written as "$var" or "${var}", but 
outside quoted strings, the $var form is required, and attempts to use ${var} 
result in confusing error messages:

<pre>
var = "value"
notify { "A": message => "$var", } # works
notify { "B": message => "${var}", } # works
notify { "C": message => $var, }   # works
notify { "D": message => ${var}, } # fails, with Error 400 on SERVER: Could not 
match '${var},' at <filename>:<line>
</pre>

It would be nice if ${var} could be used in this context.


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to