Hi guys,

I have interfaces bond0.2 and bond0.3 respectively (VLAN tagged).

How can I get IP address in hiera?


I've tried this:


myvar: "%{::networking.interfaces.bond0.2.ip}"


but it produces error:

SERVER: Internal Server Error: org.jruby.exceptions.RaiseException: (Exception) Hiera type mismatch: Got Hash when Array was expected enable lookup using key '2'



I've tried escaping with backslash, singlequoting, etc, but no luck..


Any ideas?

--
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/56EB3DC5.1030007%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to