Unverified Commit d0c9a4f8 authored by Jonathan's avatar Jonathan Committed by GitHub
Browse files

Merge pull request #122 from guest715/master

Fix for client iptables rules being repeatedly added by subsequent Puppet runs
parents 500296d4 db630ecc
......@@ -58,14 +58,14 @@ define freeradius::client (
if ($firewall and $ensure == 'present') {
if $port {
if $ip {
firewall { "100-${shortname}-${port}-v4":
firewall { "100 ${shortname} ${port} v4":
proto => 'udp',
dport => $port,
action => 'accept',
source => $ip,
}
} elsif $ip6 {
firewall { "100-${shortname}-${port}-v6":
firewall { "100 ${shortname} ${port} v6":
proto => 'udp',
dport => $port,
action => 'accept',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment