add more options
This commit is contained in:
2
.puppet-lint.rc
Normal file
2
.puppet-lint.rc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
--no-variable_scope-check
|
||||||
|
--no-top_scope_facts
|
||||||
@@ -60,6 +60,10 @@
|
|||||||
# to create organizations in Gitea.
|
# to create organizations in Gitea.
|
||||||
# @param [String] ga_internal_token The internal token for Gitea.
|
# @param [String] ga_internal_token The internal token for Gitea.
|
||||||
# @param [String] ga_jwt_secret The JWT secret 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 (
|
class confdroid_gitea::params (
|
||||||
|
|
||||||
@@ -78,6 +82,8 @@ class confdroid_gitea::params (
|
|||||||
Boolean $ga_start_ssh = false,
|
Boolean $ga_start_ssh = false,
|
||||||
String $ga_instance_name = 'Your Gitea Instance',
|
String $ga_instance_name = 'Your Gitea Instance',
|
||||||
String $ga_lfs_jwt_secret = 'ChangeMeLFSJWTSecret',
|
String $ga_lfs_jwt_secret = 'ChangeMeLFSJWTSecret',
|
||||||
|
Boolean $ga_use_proxy_protocol = false,
|
||||||
|
String $ga_public_url_detection = 'auto',
|
||||||
|
|
||||||
# database
|
# database
|
||||||
String $ga_db_type = 'postgres',
|
String $ga_db_type = 'postgres',
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ SSH_LISTEN_PORT = <%= @ga_ssh_port %>
|
|||||||
LFS_START_SERVER = <%= @ga_start_lfs %>
|
LFS_START_SERVER = <%= @ga_start_lfs %>
|
||||||
START_SSH_SERVER = <%= @ga_start_ssh %>
|
START_SSH_SERVER = <%= @ga_start_ssh %>
|
||||||
LFS_JWT_SECRET = <%= @ga_lfs_jwt_secret %>
|
LFS_JWT_SECRET = <%= @ga_lfs_jwt_secret %>
|
||||||
|
USE_PROXY_PROTOCOL = <%= @ga_use_proxy_protocol %>
|
||||||
|
PUBLIC_URL_DETECTION = <%= @ga_public_url_detection %>
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
DB_TYPE = <%= @ga_db_type %>
|
DB_TYPE = <%= @ga_db_type %>
|
||||||
|
|||||||
2887
templates/example.app.ini
Normal file
2887
templates/example.app.ini
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user