Skip to content
Snippets Groups Projects
Select Git revision
  • 2ca70d4914f1b0a4920e22b1554466f4121ad8eb
  • master default protected
  • 5.x
  • ll-php8-bs5
  • release_5_bs5
  • ll-php8
  • 4.x
  • laminas_migration
  • release_1.0.0.2
  • release_4.0.0
  • release_3.2.8
  • bootstrap4_migration
  • 1.0.0.3
  • 6.0.7
  • 6.0.6
  • 6.0.5
  • 6.0.4
  • 6.0.3
  • 6.0.2
  • 6.0.1
  • 5.1.1
  • 6.0.0
  • 5.1.0
  • 5.0.0
  • 4.0.2
  • 3.2.11
  • 4.0.1
  • 3.2.10
  • 4.0.0
  • 1.0.0.2
  • 3.2.9
  • 3.2.8
32 results

configuration.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    home_server.pp 1.52 KiB
    # Configure a home_server for proxy config
    define freeradius::home_server (
      Enum['udp', 'tcp'] $proto                              = 'udp',
      String $secret,
      Enum['none', 'status-server', 'request'] $status_check = 'none',
      Enum['auth', 'acct', 'auth+acct', 'coa'] $type         = 'auth',
      Optional[Integer] $check_interval                      = undef,
      Optional[Integer] $check_timeout                       = undef,
      Optional[String] $ipaddr                               = undef,
      Optional[String] $ipv6addr                             = undef,
      Optional[Integer] $max_outstanding                     = undef,
      Optional[Enum['no', 'yes']] $no_response_fail          = undef,
      Optional[Integer] $num_answers_to_alive                = undef,
      Optional[String] $password                             = undef,
      Optional[Integer] $port                                = 1812,
      Optional[Integer] $response_window                     = undef,
      Optional[Integer] $revive_interval                     = undef,
      Optional[String] $src_ipaddr                           = undef,
      Optional[String] $username                             = undef,
      Optional[String] $virtual_server                       = undef,
      Optional[Integer] $zombie_period                       = undef,
    ) {
      $fr_basepath = $::freeradius::params::fr_basepath
    
      # Configure config fragment for this home server
      concat::fragment { "homeserver-${name}":
        target  => "${fr_basepath}/proxy.conf",
        content => template('freeradius/home_server.erb'),
        order   => 10,
      }
    }