Fixed munin service on OpenBSD 5.0
This commit is contained in:
parent
6a5f513396
commit
f4de673d7d
1 changed files with 7 additions and 0 deletions
|
@ -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"],
|
||||
|
|
Loading…
Add table
Reference in a new issue