Recommit for updates in build 22
This commit is contained in:
@@ -99,7 +99,7 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>confdroid_gitea::params.pp Module name: confdroid_gitea Author: 12ww1160 (12ww1160@confdroid.com)</p>
|
<p>confdroid_gitea::params.pp Module name: confdroid_gitea Author: 12ww1160 (12ww1160@confdroid.com) @param [String] ga_admin_allow_create_organization Whether to allow admin to create organizations in Gitea.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -830,6 +830,73 @@
|
|||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ga_lfs_jwt_secret</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'ChangeMeLFSJWTSecret'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The JWT secret for Git L FS in Gitea.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ga_internal_token</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'ChangeMeInternalToken'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The internal token for Gitea.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ga_jwt_secret</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'ChangeMeJWTSecret'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The JWT secret for Gitea.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ga_admin_allow_create_organization</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'true'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
@@ -841,12 +908,6 @@
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
58
|
|
||||||
59
|
|
||||||
60
|
|
||||||
61
|
|
||||||
62
|
|
||||||
63
|
|
||||||
64
|
64
|
||||||
65
|
65
|
||||||
66
|
66
|
||||||
@@ -927,61 +988,73 @@
|
|||||||
141
|
141
|
||||||
142
|
142
|
||||||
143
|
143
|
||||||
144</pre>
|
144
|
||||||
|
145
|
||||||
|
146
|
||||||
|
147
|
||||||
|
148
|
||||||
|
149
|
||||||
|
150
|
||||||
|
151
|
||||||
|
152
|
||||||
|
153</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 58</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 64</span>
|
||||||
|
|
||||||
class confdroid_gitea::params (
|
class confdroid_gitea::params (
|
||||||
|
|
||||||
# main
|
# main
|
||||||
Array $ga_reqpackages = ['git', 'wget', 'tar'],
|
Array $ga_reqpackages = ['git', 'wget', 'tar'],
|
||||||
String $ga_pkg_ensure = 'present',
|
String $ga_pkg_ensure = 'present',
|
||||||
String $ga_host_fqdn = 'gitea.example.net',
|
String $ga_host_fqdn = 'gitea.example.net',
|
||||||
String $ga_opt_dir = '/opt/gitea',
|
String $ga_opt_dir = '/opt/gitea',
|
||||||
String $ga_dl_url = 'https://dl.gitea.com/gitea',
|
String $ga_dl_url = 'https://dl.gitea.com/gitea',
|
||||||
String $ga_dl_version = '1.25.4',
|
String $ga_dl_version = '1.25.4',
|
||||||
String $ga_user = 'git',
|
String $ga_user = 'git',
|
||||||
String $ga_domain = 'localhost',
|
String $ga_domain = 'localhost',
|
||||||
String $ga_root_url = 'http://localhost:3000',
|
String $ga_root_url = 'http://localhost:3000',
|
||||||
Boolean $ga_disable_ssh = false,
|
Boolean $ga_disable_ssh = false,
|
||||||
Boolean $ga_start_lfs = true,
|
Boolean $ga_start_lfs = true,
|
||||||
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',
|
||||||
|
|
||||||
# database
|
# database
|
||||||
String $ga_db_type = 'postgres',
|
String $ga_db_type = 'postgres',
|
||||||
String $ga_db_host = 'localhost',
|
String $ga_db_host = 'localhost',
|
||||||
String $ga_db_port = '5432',
|
String $ga_db_port = '5432',
|
||||||
String $ga_db_name = 'gitea',
|
String $ga_db_name = 'gitea',
|
||||||
String $ga_db_user = 'ChangeMe',
|
String $ga_db_user = 'ChangeMe',
|
||||||
String $ga_db_password = 'ChangeMe',
|
String $ga_db_password = 'ChangeMe',
|
||||||
Boolean $ga_log_sql = false,
|
Boolean $ga_log_sql = false,
|
||||||
String $ga_ssl_mode = 'require',
|
String $ga_ssl_mode = 'require',
|
||||||
# logging
|
# logging
|
||||||
String $ga_log_mode = 'file',
|
String $ga_log_mode = 'file',
|
||||||
String $ga_log_level = 'info',
|
String $ga_log_level = 'info',
|
||||||
# security
|
# security
|
||||||
Boolean $ga_install_lock = true,
|
Boolean $ga_install_lock = true,
|
||||||
String $ga_secret_key = 'ChangeMe1234567890',
|
String $ga_secret_key = 'ChangeMe1234567890',
|
||||||
String $ga_reverse_proxy_limit = '1',
|
String $ga_reverse_proxy_limit = '1',
|
||||||
String $ga_reverse_proxy_trusted_proxies = '*',
|
String $ga_reverse_proxy_trusted_proxies = '*',
|
||||||
Boolean $ga_disable_root_check = true,
|
Boolean $ga_disable_root_check = true,
|
||||||
String $ga_admin_username = 'admin',
|
String $ga_admin_username = 'admin',
|
||||||
String $ga_admin_password = 'ChangeMeAdmin123!',
|
String $ga_admin_password = 'ChangeMeAdmin123!',
|
||||||
String $ga_admin_email = 'admin@example.com',
|
String $ga_admin_email = 'admin@example.com',
|
||||||
|
String $ga_admin_allow_create_organization = 'true',
|
||||||
|
String $ga_internal_token = 'ChangeMeInternalToken',
|
||||||
|
String $ga_jwt_secret = 'ChangeMeJWTSecret',
|
||||||
# service
|
# service
|
||||||
Boolean $ga_disable_registration = false,
|
Boolean $ga_disable_registration = false,
|
||||||
Boolean $ga_require_signin_view = false,
|
Boolean $ga_require_signin_view = false,
|
||||||
Boolean $ga_enable_packages = true,
|
Boolean $ga_enable_packages = true,
|
||||||
Boolean $ga_enable_registry = true,
|
Boolean $ga_enable_registry = true,
|
||||||
String $ga_storage_type = 'filesystem',
|
String $ga_storage_type = 'filesystem',
|
||||||
|
|
||||||
# firewall
|
# firewall
|
||||||
Boolean $ga_use_firewall = true,
|
Boolean $ga_use_firewall = true,
|
||||||
String $ga_http_port = '3000',
|
String $ga_http_port = '3000',
|
||||||
String $ga_ssh_port = '22',
|
String $ga_ssh_port = '22',
|
||||||
String $ga_order_prefix = '50',
|
String $ga_order_prefix = '50',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
# facts
|
# facts
|
||||||
|
|||||||
Reference in New Issue
Block a user