Issue #19058 has been updated by Matthaus Owens.

Released in Puppet 3.2.0-rc1

----------------------------------------
Feature #19058: Deprecate the method syntax for variables in ERB templates
https://projects.puppetlabs.com/issues/19058#change-89562

* Author: Andrew Parker
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 3.2.0
* Affected Puppet version: 
* Keywords: deprecation template
* Branch: https://github.com/puppetlabs/puppet/pull/1447
----------------------------------------
At the moment ERB templates have 2 ways of accessing variables in the current 
scope. One is to use the ruby instance variable syntax (`@variable`) the other 
is to use the local var/method call syntax (`variable`). The second syntax has 
many problems and can be dangerous to use in certain circumstances.

We need to deprecate the method call syntax and remove it in a later version. 
In addition the style guide and template docs need to be updated to make clear 
that the instance variable syntax is preferred.


-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to