diff --git a/doc/puppet_classes/puppet_cd_3A_3Afirewall_3A_3Aiptables.html b/doc/puppet_classes/puppet_cd_3A_3Afirewall_3A_3Aiptables.html index 73b9054..bdaacbf 100644 --- a/doc/puppet_classes/puppet_cd_3A_3Afirewall_3A_3Aiptables.html +++ b/doc/puppet_classes/puppet_cd_3A_3Afirewall_3A_3Aiptables.html @@ -146,7 +146,8 @@ 48 49 50 -51 +51 +52
# File 'manifests/firewall/iptables.pp', line 6
@@ -167,9 +168,10 @@ class puppet_cd::firewall::iptables (
}
if $pt_use_r10k_webhook == true {
firewall { "3${pt_r10k_webhook_port} open port ${pt_r10k_webhook_port}":
- proto => 'tcp',
- dport => $pt_r10k_webhook_port,
- jump => 'accept',
+ proto => 'tcp',
+ source => '10.0.1.0/24',
+ dport => $pt_r10k_webhook_port,
+ jump => 'accept',
}
}
}
diff --git a/manifests/firewall/iptables.pp b/manifests/firewall/iptables.pp
index 91f61e4..ad5c395 100644
--- a/manifests/firewall/iptables.pp
+++ b/manifests/firewall/iptables.pp
@@ -19,9 +19,10 @@ class puppet_cd::firewall::iptables (
}
if $pt_use_r10k_webhook == true {
firewall { "3${pt_r10k_webhook_port} open port ${pt_r10k_webhook_port}":
- proto => 'tcp',
- dport => $pt_r10k_webhook_port,
- jump => 'accept',
+ proto => 'tcp',
+ source => '10.0.1.0/24',
+ dport => $pt_r10k_webhook_port,
+ jump => 'accept',
}
}
}