Use something like <%= scope.lookupvar('hostname') %>

On Sep 20, 11:06 am, Arnau Bria <arnaub...@pic.es> wrote:
> Hi all,
>
> is there a way for qualifying variables inside a template?
> I've tried :
>
> Name = <%= "${::hostname}" %>
>
> but the var gets "${::hostname}" value.
>
> thinking in version 2.8, is it 
> needed?http://docs.puppetlabs.com/guides/scope_and_puppet.htmlsays nothing
> about this...
>
> TIA,
> Arnau

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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