add more options

This commit is contained in:
2026-02-24 00:33:58 +01:00
parent 18214183fc
commit feef07959c
4 changed files with 2898 additions and 1 deletions

2
.puppet-lint.rc Normal file
View File

@@ -0,0 +1,2 @@
--no-variable_scope-check
--no-top_scope_facts

View File

@@ -60,6 +60,10 @@
# to create organizations in Gitea.
# @param [String] ga_internal_token The internal token for Gitea.
# @param [String] ga_jwt_secret The JWT secret for Gitea.
# @param [Boolean] ga_use_proxy_protocol Whether to enable proxy protocol
# support in Gitea.
# @param [String] ga_public_url_detection The method for public URL detection
# in Gitea. Options are 'auto', 'legacy', and 'none'.
##############################################################################
class confdroid_gitea::params (
@@ -78,7 +82,9 @@ class confdroid_gitea::params (
Boolean $ga_start_ssh = false,
String $ga_instance_name = 'Your Gitea Instance',
String $ga_lfs_jwt_secret = 'ChangeMeLFSJWTSecret',
Boolean $ga_use_proxy_protocol = false,
String $ga_public_url_detection = 'auto',
# database
String $ga_db_type = 'postgres',
String $ga_db_host = 'localhost',

View File

@@ -28,6 +28,8 @@ SSH_LISTEN_PORT = <%= @ga_ssh_port %>
LFS_START_SERVER = <%= @ga_start_lfs %>
START_SSH_SERVER = <%= @ga_start_ssh %>
LFS_JWT_SECRET = <%= @ga_lfs_jwt_secret %>
USE_PROXY_PROTOCOL = <%= @ga_use_proxy_protocol %>
PUBLIC_URL_DETECTION = <%= @ga_public_url_detection %>
[database]
DB_TYPE = <%= @ga_db_type %>

2887
templates/example.app.ini Normal file

File diff suppressed because it is too large Load Diff