From 51c108b1e1d5912d0ac7e1299eef85c8b3c702ed Mon Sep 17 00:00:00 2001 From: Craig Dunn Date: Sat, 13 Aug 2016 10:36:13 +0200 Subject: [PATCH] #27 set zone sources when creating --- lib/puppet/provider/firewalld_zone/firewall_cmd.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/puppet/provider/firewalld_zone/firewall_cmd.rb b/lib/puppet/provider/firewalld_zone/firewall_cmd.rb index fa3fe62b..e22180fd 100644 --- a/lib/puppet/provider/firewalld_zone/firewall_cmd.rb +++ b/lib/puppet/provider/firewalld_zone/firewall_cmd.rb @@ -20,6 +20,7 @@ def create execute_firewall_cmd(['--new-zone', @resource[:name]], nil) self.target=(@resource[:target]) if @resource[:target] + self.sources=(@resource[:sources]) if @resource[:sources] self.interfaces=@resource[:interfaces] end