Value from hiera nested hash in erb template
I have the following:
--- foo: bar01: someval: foovalue bar02: someval: barvalue
Now, I want to request the value of "foo::bar01::someval" and put it in a puppet erb template.
The first value is: <%= hiera(foo::bar01::someval) %>.
I just have no idea what the actual syntax is...
Can anyone help?