3
0

transfer parameters, iptables and service to puppet_cd - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/292

This commit is contained in:
Arne Teuke
2025-11-01 16:38:56 +01:00
parent 9b75c8b1a9
commit e861e60d4e
5 changed files with 72 additions and 54 deletions

View File

@@ -26,4 +26,11 @@ class puppet_cd::firewall::iptables (
}
}
}
if ($pt_puppetdb_fqdn == $fqdn) and ($pt_use_puppetdb == true) {
firewall { "3${pt_https_port} open port ${pt_https_port}":
proto => 'tcp',
dport => $pt_https_port,
jump => 'accept',
}
}
}