OP#414 add fw section
This commit is contained in:
@@ -2,9 +2,19 @@
|
||||
# Module name: confdroid_gitea
|
||||
# Author: 12ww1160 (12ww1160@confdroid.com)
|
||||
# @summary holds all parameters for the confdroid_gitea Puppet module.
|
||||
# @param [Boolean] ga_use_firewall Whether to enable firewall rules for Gitea.
|
||||
# @param [String] ga_http_port The main port number for Gitea.
|
||||
# @param [String] ga_ssh_port The SSH port number for Gitea.
|
||||
# @param [String] ga_order_prefix The order prefix for firewall rules.
|
||||
##############################################################################
|
||||
class confdroid_gitea::params (
|
||||
|
||||
# firewall
|
||||
Boolean $ga_use_firewall = true,
|
||||
String $ga_http_port = '3000',
|
||||
String $ga_ssh_port = '22',
|
||||
String $ga_order_prefix = '50',
|
||||
|
||||
) {
|
||||
# facts
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
Reference in New Issue
Block a user