Skip to content

Commit

Permalink
#27 set zone sources when creating
Browse files Browse the repository at this point in the history
  • Loading branch information
crayfishx committed Aug 13, 2016
1 parent ccfb6c6 commit 51c108b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/provider/firewalld_zone/firewall_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 51c108b

Please sign in to comment.