Skip to content

Commit

Permalink
fix(firewall): rename chain
Browse files Browse the repository at this point in the history
  • Loading branch information
minorOffense authored Oct 24, 2023
1 parent 2de2373 commit dd82d5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/agent.pp
Original file line number Diff line number Diff line change
Expand Up @@ -391,17 +391,17 @@
# Manage firewall
if $manage_firewall {
if $use_firewall_chain {
firewallchain { 'ZABBIX-AGENT:filter:IPv4':
firewallchain { 'ZABBIX_AGENT:filter:IPv4':
ensure => present,
purge => true,
}
firewall { "${firewall_priority} zabbix-agent":
chain => 'INPUT',
jump => 'ZABBIX-AGENT',
jump => 'ZABBIX_AGENT',
}
}
$chain = $use_firewall_chain ? {
true => 'ZABBIX-AGENT',
true => 'ZABBIX_AGENT',
default => 'INPUT'
}
$servers = split($server, ',')
Expand Down

0 comments on commit dd82d5a

Please sign in to comment.