Hi Red,

I did tried that, but it is not working for me.

<%= hostname[interfaces_ipv4][eth0][bootproto] %>

or even
<%= os[release][major] %>
Regards,
Vikas


On Monday, 12 October 2015 11:19:15 UTC+11, red wrote:
>
> I asked almost the same question on ask puppet
>
>
> https://ask.puppetlabs.com/question/1295/getting-hiera-data-into-my-erb-template/
>
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1240c73e-755d-4fd2-9ea7-eb596409f046%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to