Puppet Class: inspircd::modules::operjoin

Defined in:
manifests/modules/operjoin.pp

Overview

Parameters:

  • channels (Any) (defaults to: [])
  • override (Any) (defaults to: 'yes')


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

class inspircd::modules::operjoin (
  $channels = [],
  $override = 'yes'
){

  $config = {
    channels => join($channels, ','),
  }

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

}