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.



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/params.pp', line 10

class confdroid_gitea::params (

  # 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
}