[foreman-users] foreman_subnets with Puppet 4

2016-12-29 Thread 'Jason B. Nance' via Foreman users
Hello everyone, I have a custom firewall module that defines a resource which creates rules based on values in foreman_subnets. So in my module I say: firewall::foreman_subnet { $::foreman_subnets: } ...and it creates rules for each of the subnets in the array of hashes. This worked great

Re: [foreman-users] foreman_subnets with Puppet 4

2016-12-30 Thread 'Jason B. Nance' via Foreman users
I ended up using each() to solve this issue, but if someone has a better idea I'm all ears. j - Original Message - From: "'Jason B. Nance' via Foreman users" To: foreman-users@googlegroups.com Sent: Thursday, December 29, 2016 4:32:12 PM Subject: [foreman-us