Skip to content

Commit

Permalink
Merge pull request #898 from voxpupuli/firewall
Browse files Browse the repository at this point in the history
puppetlabs/firewall: Require 7.x
  • Loading branch information
evgeni authored Oct 5, 2023
2 parents 39bedae + 286f5c1 commit dbdcede
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 17 deletions.
4 changes: 1 addition & 3 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion manifests/agent.pp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
firewall { "150 zabbix-agent from ${_server}":
dport => $listenport,
proto => 'tcp',
action => 'accept',
jump => 'accept',
source => $_server,
state => [
'NEW',
Expand Down
8 changes: 4 additions & 4 deletions manifests/javagateway.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
}
}
8 changes: 4 additions & 4 deletions manifests/proxy.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit dbdcede

Please sign in to comment.