Fixed munin service start for OpenBSD 5.0

This commit is contained in:
Ossi Salmi 2011-12-08 14:59:12 +02:00 committed by Timo Mkinen
parent a4ea144611
commit ce1e97c516

View file

@ -12,7 +12,10 @@ class munin::node {
enable => true, enable => true,
require => Package["munin-node"], require => Package["munin-node"],
start => $operatingsystem ? { start => $operatingsystem ? {
OpenBSD => "/usr/bin/install -d -o _munin /var/run/munin; /usr/local/sbin/munin-node", OpenBSD => $operatingsystemrelease ? {
/4\.[1-8]/ => "/usr/bin/install -d -o _munin /var/run/munin; /usr/local/sbin/munin-node",
default => undef,
},
default => undef, default => undef,
}, },
stop => $operatingsystem ? { stop => $operatingsystem ? {