Puppet Class: inspircd::modules::chanprotect

Defined in:
manifests/modules/chanprotect.pp

Overview

Parameters:

  • noservices (Any) (defaults to: 'no')
  • qprefix (Any) (defaults to: '~')
  • aprefix (Any) (defaults to: '&')
  • deprotectself (Any) (defaults to: 'yes')
  • deprotectothers (Any) (defaults to: 'yes')


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/chanprotect.pp', line 1

class inspircd::modules::chanprotect (
  $noservices = 'no',
  $qprefix = '~',
  $aprefix = '&',
  $deprotectself = 'yes',
  $deprotectothers = 'yes',
){

  $config = {
    noservices      => $noservices,
    qprefix         => $qprefix,
    aprefix         => $aprefix,
    deprotectself   => $deprotectself,
    deprotectothers => $deprotectothers,
  }

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

}