Puppet Class: charybdis
Overview
Class: charybdis
This module manages charybdis and its config
Actions:
Requires:
ripienaar-concat module
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'],
}
}
|