Puppet Class: inspircd::modules::connflood

Defined in:
manifests/modules/connflood.pp

Overview

Parameters:

  • seconds (Any) (defaults to: '30')
  • maxconns (Any) (defaults to: '3')
  • timeout (Any) (defaults to: '30')
  • quitmsg (Any) (defaults to: 'Throttled')
  • bootwait (Any) (defaults to: '10')


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

class inspircd::modules::connflood (
  $seconds = '30',
  $maxconns = '3',
  $timeout = '30',
  $quitmsg = 'Throttled',
  $bootwait = '10',
){

  $config = {
    seconds  => $seconds,
    maxconns => $maxconns,
    timeout  => $timeout,
    quitmsg  => $quitmsg,
    bootwait => $bootwait,
  }

  ::inspircd::internal::configblock { "inspircd ${name} ":
    config_name => 'connflood',
    config      => $config,
    section     => 'modules'
  }

}