On 2014-11-05 15:53, jcbollinger wrote:
Well no, Puppet IS interpolating. It is interpolating the string value
of the whole hash. What it is not doing is interpreting the index as
an index. Try this:

notice("${os[family]}")

I make it a general rule to _always_ use braces around variable
references in quoted strings, even where not strictly necessary. It is
harmless to do so, and it saves having to determine on a case by case
basis whether braces are needed.
Yes, of course, stupid me. Thanks for the heads up.

I wrote the test manifest properly and now the result is as expected.

Thx,
Tom.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1df81fdbb775053f652272d7d9e41e27%40sigsegv.at.
For more options, visit https://groups.google.com/d/optout.

Reply via email to