On 28/06/17 13:58, João Matos wrote:
tks.
tried both ways. didnt work
Then something else is wrong, impossible to say what
since "didnt work" does not say much.
I am absolutely positive the example I showed does what you wanted
"interpolates a value into the key you are looking up" - clearly I do
not know if the variable has the value you expect it to have, nor if
there is anything at all to look up at that key, and that it is a hash.
- henrik
On Monday, 26 June 2017 17:58:51 UTC+1, João Matos wrote:
Hi
i wanted to had the value to hiera_hash string key from a variable
something like:
$variable= specific
$newvariable = hiera_hash('data::hiera::$variable')
is this possible what's the correct syntax?
Thanks
--
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:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/f7871adc-b746-417f-8a6d-9797243362a2%40googlegroups.com
<https://groups.google.com/d/msgid/puppet-users/f7871adc-b746-417f-8a6d-9797243362a2%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
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/oj0m3k%243go%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.