Puppet Class: inspircd::modules::dccallow

Defined in:
manifests/modules/dccallow.pp

Overview

Parameters:

  • blockchat (Any) (defaults to: 'yes')
  • length (Any) (defaults to: '5m')
  • action (Any) (defaults to: 'block')


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

class inspircd::modules::dccallow (
  $blockchat = 'yes',
  $length = '5m',
  $action = 'block',
){

  $config = {
    blockchat => $blockchat,
    length    => $length,
    action    => $action,
  }

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

}