Defined Type: charybdis::class

Defined in:
manifests/class.pp

Overview

Parameters:

  • ping_time (Any)
  • sendq (Any)
  • max_number (Any)
  • connectfreq (Any) (defaults to: false)
  • number_per_ident (Any) (defaults to: false)
  • number_per_ip (Any) (defaults to: false)
  • number_per_ip_global (Any) (defaults to: false)
  • number_per_cidr (Any) (defaults to: false)
  • cidr_ipv4_bitlen (Any) (defaults to: false)
  • cidr_ipv6_bitlen (Any) (defaults to: false)
  • conffile (Any) (defaults to: $charybdis::conffile)


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

define charybdis::class (
  $ping_time,
  $sendq,
  $max_number,
  $connectfreq          = false,
  $number_per_ident     = false,
  $number_per_ip        = false,
  $number_per_ip_global = false,
  $number_per_cidr      = false,
  $cidr_ipv4_bitlen     = false,
  $cidr_ipv6_bitlen     = false,
  $conffile             = $charybdis::conffile
) {
  $classname = $name

  concat::fragment { "$classname class":
    target  => $conffile,
    content => template('charybdis/class.erb'),
    order   => '010',
  }
}