Hello,

I am trying to define something that would let me do this, or something 
like it:

  fw_service { elasticsearch: 
    ports => [ '9200-9300' ],
    zone => work,
  }

  fw_zone { work:
    source_addresses => [ '10.0.0.0/16' ]
  }

And for the fw_zone resource to be able to enumerate data from services 
that declared that zone name. Since it end goal is generating XML I could 
always use the concat module to create concat::fragments in the fw_service 
resource, but I wondered if there was any other way of passing data between 
functions within a catalog run? Going into Ruby is fine and I'm using 
future parser so any Puppet 4 API specific stuff would be usable.

Cheers


-- 
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/bbc31e06-ebc9-4d0f-a552-55452b037c22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to