Fixed munin service on OpenBSD 5.0

This commit is contained in:
Ossi Salmi 2012-03-01 11:45:52 +02:00
parent 6a5f513396
commit f4de673d7d

View file

@ -8,6 +8,13 @@ class munin::node {
}
service { "munin-node":
name => $operatingsystem ? {
OpenBSD => $operatingsystemrelease ? {
/4\.[1-8]/ => "munin-node",
default => "munin_node",
},
default => "munin-node",
},
ensure => running,
enable => true,
require => Package["munin-node"],