Fixed munin::node for Ubuntu.
This commit is contained in:
parent
18b55647ef
commit
93e2f7f963
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@ class munin::node {
|
||||||
if $kernel == "Linux" {
|
if $kernel == "Linux" {
|
||||||
file { "/var/lib/munin/plugin-state":
|
file { "/var/lib/munin/plugin-state":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
|
name => $::operatingsystem ? {
|
||||||
|
"ubuntu" => "/var/lib/munin-node/plugin-state",
|
||||||
|
default => "/var/lib/munin/plugin-state",
|
||||||
|
},
|
||||||
mode => "0775",
|
mode => "0775",
|
||||||
owner => "root",
|
owner => "root",
|
||||||
group => "munin",
|
group => "munin",
|
||||||
|
|
Loading…
Add table
Reference in a new issue