Puppet Class: freeradius::module::preprocess

Defined in:
manifests/module/preprocess.pp

Overview

Class: freeradius::module::preprocess

Parameters:

  • ensure (Enum['present','absent']) (defaults to: 'present')
  • moddir (String) (defaults to: "\${modconfdir}/\${.:instance}")
  • huntgroups (String) (defaults to: "\${moddir}/huntgroups")
  • hints (String) (defaults to: "\${moddir}/hints")
  • with_ascend_hack (Freeradius::Boolean) (defaults to: 'no')
  • ascend_channels_per_line (Integer) (defaults to: 23)
  • with_ntdomain_hack (Freeradius::Boolean) (defaults to: 'no')
  • with_specialix_jetstream_hack (Freeradius::Boolean) (defaults to: 'no')
  • with_cisco_vsa_hack (Freeradius::Boolean) (defaults to: 'no')


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/module/preprocess.pp', line 3

class freeradius::module::preprocess (
  Enum['present','absent'] $ensure                   = 'present',
  String $moddir                                     = "\${modconfdir}/\${.:instance}",
  String $huntgroups                                 = "\${moddir}/huntgroups",
  String $hints                                      = "\${moddir}/hints",
  Freeradius::Boolean $with_ascend_hack              = 'no',
  Integer $ascend_channels_per_line                  = 23,
  Freeradius::Boolean $with_ntdomain_hack            = 'no',
  Freeradius::Boolean $with_specialix_jetstream_hack = 'no',
  Freeradius::Boolean $with_cisco_vsa_hack           = 'no',
) {
  $fr_moduleconfigpath = $::freeradius::params::fr_moduleconfigpath
  $fr_group            = $::freeradius::params::fr_group
  $fr_service          = $::freeradius::params::fr_service

  freeradius::module {'preprocess':
    ensure  => $ensure,
    content => template('freeradius/preprocess.erb'),
  }
}