Puppet Class: confdroid_gitea::firewall::iptables
+-
+
- Inherits: +
- confdroid_gitea::params +
-
+
- Defined in: +
- + manifests/firewall/iptables.pp + +
Summary
+ manages the firewall rules for the confdroid_gitea Puppet module. + +Overview
+confdroid_gitea::firewall::iptables.pp Module name: confdroid_gitea Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21+ |
+
+ # File 'manifests/firewall/iptables.pp', line 6
+
+class confdroid_gitea::firewall::iptables (
+
+) inherits confdroid_gitea::params {
+ if $ga_use_firewall == true {
+ firewall { "${ga_order_prefix}${ga_http_port} allow gitea http port ${ga_http_port}":
+ proto => 'tcp',
+ dport => $ga_http_port,
+ jump => 'accept',
+ }
+ firewall { "${ga_order_prefix}${ga_ssh_port} allow gitea ssh port ${ga_ssh_port}":
+ proto => 'tcp',
+ dport => $ga_ssh_port,
+ jump => 'accept',
+ }
+ }
+}
+ |
+