status_server.pp 292 Bytes
Newer Older
1
2
3
4
class freeradius::status_server (
  $port     = '18121',
  $listen   = '*',
  $secret,
5
  $enable   = true,
6
7
) {
  freeradius::site { 'status':
8
9
10
    content => $enable ? {
      true    => template('freeradius/sites-enabled/status.erb'),
      default => '# Status server disabled',
11
12
13
    }
  }
}