Enable SMP and kernel polling for ejabberd on Ubuntu

This commit is contained in:
Ossi Salmi 2012-04-05 10:26:44 +03:00
parent f8f19bb9aa
commit 0ad355e6c9

View file

@ -110,6 +110,17 @@ class ejabberd {
notify => Service["ejabberd"], notify => Service["ejabberd"],
} }
case $operatingsystem {
"debian", "ubuntu": {
augeas { "set-ejabberd-default":
context => "/files/etc/default/ejabberd",
changes => [ "set POLL true",
"set SMP auto", ],
notify => Service["ejabberd"],
}
}
}
define configwebhost() { define configwebhost() {
file { "/srv/www/https/${name}/jabber": file { "/srv/www/https/${name}/jabber":
ensure => link, ensure => link,