diff --git a/lib/puppet/provider/firewalld.rb b/lib/puppet/provider/firewalld.rb index 94d72840..51a33d80 100644 --- a/lib/puppet/provider/firewalld.rb +++ b/lib/puppet/provider/firewalld.rb @@ -61,7 +61,7 @@ def execute_firewall_cmd(args, zone=@resource[:zone], perm=true, failonfail=true if online? self.class.execute_firewall_cmd(args, zone, perm, failonfail) else - self.class.execute_firewall_cmd(args, zone, false, true, 'firewall-offline-cmd') + self.class.execute_firewall_cmd(args, zone, false, failonfail, 'firewall-offline-cmd') end end