What's up with []'s? That doesn't look right to me. Just put your fact.
On Sun, Oct 11, 2015 at 5:54 PM, Vikas Kumar <vikas...@gmail.com> wrote: > 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 > <https://groups.google.com/d/msgid/puppet-users/1240c73e-755d-4fd2-9ea7-eb596409f046%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAHu%2B3OyNQ956cgXm6rMSXgXfsC0YgAGLf9GQV_OZO-W3-OpJ7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.