On Apr 19, 8:05 am, Dan Carley <dan.car...@gmail.com> wrote:
>
> It's possible with inline_template():
>
> dan.car...@jim ~ $ puppet
> $a = 1
> $x = "a"
> notice("Bad:", inline_template("<%= x %>"))
> notice("Good:", inline_template("<%= $x %>"))
> ^D
> notice: Scope(Class[main]): Bad: a
> notice: Scope(Class[main]): Good: 1

That is exactly what I was looking for. Works great, thanks!

Regards,
Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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