diff options
author | mh <mh@immerda.ch> | 2008-04-25 11:37:59 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-04-25 11:37:59 +0000 |
commit | c9191ce64fe7b60fe42cfe872fcbbf3fe436d3b9 (patch) | |
tree | 016f84623e4c7356fe8d08bde8c1fd26c63bb54a /manifests/client.pp | |
parent | 323fe6ec08ab758001f10b8f9a9b56656d2131cd (diff) |
antoher try to fix the problem
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index b2bad8b..8305bf0 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -55,11 +55,11 @@ class munin::client::base { hasrestart => true, require => Package[munin-node], } - file { - "/etc/munin/": + file {"/etc/munin/": ensure => directory, mode => 0755, owner => root, group => 0; - "/etc/munin/munin-node.conf": + } + file {"/etc/munin/munin-node.conf": content => template("munin/munin-node.conf.$operatingsystem"), mode => 0644, owner => root, group => 0, # this has to be installed before the package, so the postinst can |