Puppet Class: confdroid_gitea::params

Summary

holds all parameters for the confdroid_gitea Puppet module.

Overview

confdroid_gitea::params.pp Module name: confdroid_gitea Author: 12ww1160 (12ww1160@confdroid.com)

Parameters:

  • ga_use_firewall (Boolean) (defaults to: true)

    Whether to enable firewall rules for Gitea.

  • ga_http_port (String) (defaults to: '3000')

    The main port number for Gitea.

  • ga_ssh_port (String) (defaults to: '22')

    The SSH port number for Gitea.

  • ga_order_prefix (String) (defaults to: '50')

    The order prefix for firewall rules.

  • ga_host_fqdn (String) (defaults to: 'gitea.example.net')

    The FQDN for the Gitea host.

  • ga_working_dir (String) (defaults to: '/opt/gitea')

    The working directory for Gitea.

  • ga_dl_url (String) (defaults to: 'https://dl.gitea.com/gitea')

    The download URL for Gitea.

  • ga_dl_version (String) (defaults to: '1.25.4')

    The version of Gitea to download.

  • ga_user (String) (defaults to: 'git')

    The system user for Gitea.



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'manifests/params.pp', line 15

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',
  String $ga_ssh_port       = '22',
  String $ga_order_prefix   = '50',

) {
# facts
  $fqdn                             = $facts['networking']['fqdn']
  $domain                           = $facts['networking']['domain']
  $os_name                          = $facts['os']['name']
  $os_release                       = $facts['os']['release']['major']

# includes must be last
  include confdroid_gitea::main::config
}