diff --git a/.fixtures.yml b/.fixtures.yml index 9af298411..8bcecca57 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -2,9 +2,7 @@ fixtures: repositories: apache: https://github.com/puppetlabs/puppetlabs-apache.git apt: https://github.com/puppetlabs/puppetlabs-apt.git - firewall: - repo: https://github.com/puppetlabs/puppetlabs-firewall - ref: v6.0.0 + firewall: https://github.com/puppetlabs/puppetlabs-firewall stdlib: https://github.com/puppetlabs/puppetlabs-stdlib.git concat: https://github.com/puppetlabs/puppetlabs-concat.git postgresql: https://github.com/puppetlabs/puppet-postgresql.git diff --git a/manifests/agent.pp b/manifests/agent.pp index 25c80d475..61252c45e 100644 --- a/manifests/agent.pp +++ b/manifests/agent.pp @@ -385,7 +385,7 @@ firewall { "150 zabbix-agent from ${_server}": dport => $listenport, proto => 'tcp', - action => 'accept', + jump => 'accept', source => $_server, state => [ 'NEW', diff --git a/manifests/javagateway.pp b/manifests/javagateway.pp index 2e4e9c68e..47b4f2006 100644 --- a/manifests/javagateway.pp +++ b/manifests/javagateway.pp @@ -66,10 +66,10 @@ # Manage firewall if $manage_firewall { firewall { '152 zabbix-javagateway': - dport => $listenport, - proto => 'tcp', - action => 'accept', - state => ['NEW','RELATED', 'ESTABLISHED'], + dport => $listenport, + proto => 'tcp', + jump => 'accept', + state => ['NEW','RELATED', 'ESTABLISHED'], } } } diff --git a/manifests/proxy.pp b/manifests/proxy.pp index f2a6f1913..731c57d59 100644 --- a/manifests/proxy.pp +++ b/manifests/proxy.pp @@ -492,10 +492,10 @@ # Manage firewall if $manage_firewall { firewall { '151 zabbix-proxy': - dport => $listenport, - proto => 'tcp', - action => 'accept', - state => [ + dport => $listenport, + proto => 'tcp', + jump => 'accept', + state => [ 'NEW', 'RELATED', 'ESTABLISHED', diff --git a/manifests/server.pp b/manifests/server.pp index 9c1c5dd55..0ea355153 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -454,10 +454,10 @@ # Manage firewall if $manage_firewall { firewall { '151 zabbix-server': - dport => $listenport, - proto => 'tcp', - action => 'accept', - state => [ + dport => $listenport, + proto => 'tcp', + jump => 'accept', + state => [ 'NEW', 'RELATED', 'ESTABLISHED', diff --git a/metadata.json b/metadata.json index e61807c11..b66785000 100644 --- a/metadata.json +++ b/metadata.json @@ -22,7 +22,7 @@ }, { "name": "puppetlabs/firewall", - "version_requirement": ">= 1.7.0 < 7.0.0" + "version_requirement": ">= 7.0.0 < 8.0.0" }, { "name": "puppetlabs/apt",