diff options
author | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-06-13 20:02:35 +0000 |
---|---|---|
committer | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-06-13 20:02:35 +0000 |
commit | 1c58e95f08313f90d5c80922c231c9333b19a73f (patch) | |
tree | 9d24e887cccc04e27a1d41c1fb1b830451b30327 /manifests/client.pp | |
parent | aed996efe16b24837d70873f9b6143ed3968e873 (diff) | |
parent | 07a5491ba8f4fb8cbf556eebf562da918548bda0 (diff) |
Merge commit 'puzzle/development'
git-svn-id: https://rfd.cronopios.org/ipuppet/trunk/modules/munin@1600 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 8305bf0..59b6980 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -51,6 +51,7 @@ class munin::client::base { package { "munin-node": ensure => installed } service { "munin-node": ensure => running, + enable => true, hasstatus => true, hasrestart => true, require => Package[munin-node], @@ -59,6 +60,10 @@ class munin::client::base { ensure => directory, mode => 0755, owner => root, group => 0; } + $real_munin_allow = $munin_allow ? { + '' => '127.0.0.1', + default => $munin_allow + } file {"/etc/munin/munin-node.conf": content => template("munin/munin-node.conf.$operatingsystem"), mode => 0644, owner => root, group => 0, |