Hi,

I'm using something like this:

netconfig:
  hostname:                'BSDHelmut'
  interfaces:
    "%{facts.networking.primary}":
      ip4:          &ip4   '192.168.124.35'
      cidr4:        &cidr4 '192.168.124.35/24'
      ip4aliases:
        - '192.168.124.36/32'
      ip6:          &ip6   'DHCP'

Can I either do something like

- "%{lookup('netconfig.interfaces.%{facts.networking.primary}.ip4.helmut')}"
- "text*{ip4}text"

Thank you!

--
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/r4fkn1%24ngm%241%40ciao.gmane.io.

Reply via email to