There's also more documentation on using puppet specific methods in templates at http://docs.puppetlabs.com/guides/templating.html
On Tue, Sep 20, 2011 at 11:53 AM, Alessandro Franceschi <[email protected]> wrote: > Use something like <%= scope.lookupvar('hostname') %> > > On Sep 20, 11:06 am, Arnau Bria <[email protected]> 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 [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-users?hl=en. > > -- Adrien Thebo Puppet Labs Operations [email protected] -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
