Using Wildcards in Hiera.yaml
I am using Puppet Open Source v3.0.2 using Hiera for storing node details.
I have a proxy module at the moment that creates the required iptables rules for the server so that each client has their own data port that redirects to the same port i.e.
iptables {"8100: Client A Prerouting": chain => 'PREROUTING', table => "nat", dport => 8100, proto => 'tcp', jump => 'DNAT', todest => 4130}
iptables {"8101: Client B Prerouting": chain => 'PREROUTING', table => "nat", dport => 8101, proto => 'tcp', jump => 'DNAT', todest => 4130}
All of which works well but as the number of clients grows this file is going to ...