Puppet Class: inspircd::modules::shun
- Defined in:
- manifests/modules/shun.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/modules/shun.pp', line 1
class inspircd::modules::shun (
$enabledcommands = 'PING PONG QUIT PART JOIN',
$notifyuser = 'no',
$affectopers = 'no',
){
$config = {
enabledcommands => $enabledcommands,
notifyuser => $notifyuser,
affectopers => $affectopers,
}
::inspircd::internal::configblock { "inspircd ${name} ":
config_name => 'shun',
config => $config,
section => 'modules'
}
}
|