OP#414 add user control

This commit is contained in:
12ww1160
2026-02-04 10:55:41 +01:00
parent 9899e62739
commit f516107df6
8 changed files with 38 additions and 15 deletions

View File

@@ -6,9 +6,21 @@
# @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.
# @param [String] ga_host_fqdn The FQDN for the Gitea host.
# @param [String] ga_working_dir The working directory for Gitea.
# @param [String] ga_dl_url The download URL for Gitea.
# @param [String] ga_dl_version The version of Gitea to download.
# @param [String] ga_user The system user for Gitea.
##############################################################################
class confdroid_gitea::params (
# main
String $ga_host_fqdn = 'gitea.example.net',
String $ga_working_dir = '/opt/gitea',
String $ga_dl_url = 'https://dl.gitea.com/gitea',
String $ga_dl_version = '1.25.4',
String $ga_user = 'git',
# firewall
Boolean $ga_use_firewall = true,
String $ga_http_port = '3000',