Puppet Class: charybdis

Inherits:
charybdis::params
Inherited by:
charybdis::default
Defined in:
manifests/init.pp

Overview

Class: charybdis

This module manages charybdis and its config

Actions:

Requires:

ripienaar-concat module

Parameters:

  • conffile (Any) (defaults to: $charybdis::params::conffile)


10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/init.pp', line 10

class charybdis (
  $conffile = $charybdis::params::conffile
) inherits charybdis::params {

  package { 'charybdis':
    ensure => present,
  }
  service { 'charybdis':
    ensure  => running,
    enable  => true,
    restart => '/bin/kill -HUP `cat /var/run/charybdis/ircd.pid`',
  }
  include concat::setup
  concat { $conffile:
    owner   => "root",
    group   => "charybdis",
    mode    => "440",
    require => Package['charybdis'],
    notify  => Service['charybdis'],
  }
}