scope.lookupvar() works also on Puppet 2.6 and 0.25 and maybe earlier 
versions, and AFAIK will keep on working in future versions.
Incidentally it has the benefit of not throwing an exception when the 
referred variables is not set (it just returns an empty field)
I find it useful to refer to fully qualified variables (ie 
apache::params::port) that are not usable in the traitional form (<%= 
apache::params::port %>

Al

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/3kSOk6-o2sYJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to