Fixed munin service start for OpenBSD 5.0
This commit is contained in:
parent
a4ea144611
commit
ce1e97c516
1 changed files with 4 additions and 1 deletions
|
@ -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 ? {
|
||||||
|
|
Loading…
Add table
Reference in a new issue