-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thank you, thats it! :)
Am 01.07.2013 16:34, schrieb Erik Dalén:
> that should be <%= scope.lookupvar('var') %>, note the quotes
> around var.
>
>
> On 1 July 2013 09:10, <[email protected]
> <mailto:[email protected]>> wrote:
>
>
> Once again...
>
>
> 1 class test { 2 $var1 = 'foo' 3 $var2 = 'bar' 4 $vars =
> ["var1","var2"] 5 notice($var1) 6 notice($var2) 7 notice($vars)
> 8 each($vars) |$var| { 9 $vardata = inline_template("<%=
> scope.lookupvar(var) %>") 10 notice("$var: $vardata") 11 } 12
> }
>
>
> -- You received this message because you are subscribed to the
> Google Groups "Puppet Users" group. To unsubscribe from this group
> and stop receiving emails from it, send an email to
> [email protected]
> <mailto:puppet-users%[email protected]>. To post to
> this group, send email to [email protected]
> <mailto:[email protected]>. Visit this group at
> http://groups.google.com/group/puppet-users. For more options,
> visit https://groups.google.com/groups/opt_out.
>
>
>
>
>
>
> -- Erik Dalén
>
> -- You received this message because you are subscribed to the
> Google Groups "Puppet Users" 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-users. For more options,
> visit https://groups.google.com/groups/opt_out.
>
>
- --
Mario van der Linde
Linux Consultant & Trainer
Tel.: +49-151-16879485
Mail: [email protected]
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlHRmccACgkQ0xt2iESAuwQacQCgmwLXLmkx/E+5b6vGOXN7xkGV
42wAoI2lXe4gP3UZhH08s2XS1bj8UXX5
=PvP/
-----END PGP SIGNATURE-----
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users.
For more options, visit https://groups.google.com/groups/opt_out.