From f698ea2a7ee41dd7b7a179e8949c453e07fe4e77 Mon Sep 17 00:00:00 2001 From: Robert Heinzmann Date: Wed, 1 Feb 2017 08:11:40 +0100 Subject: [PATCH] Fixed Issue #112 --- lib/puppet/provider/firewalld.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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