summaryrefslogtreecommitdiff
path: root/manifests/client/base.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client/base.pp')
-rw-r--r--manifests/client/base.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/client/base.pp b/manifests/client/base.pp
index e81028d..71531fa 100644
--- a/manifests/client/base.pp
+++ b/manifests/client/base.pp
@@ -1,5 +1,5 @@
# Install a basic munin client
-class munin::client::base {
+class munin::client::base inherits munin::client::params {
package { 'munin-node':
ensure => installed
}
@@ -17,7 +17,7 @@ class munin::client::base {
group => 0,
}
file {'/etc/munin/munin-node.conf':
- content => template("munin/munin-node.conf.${::operatingsystem}"),
+ content => template("${module_name}/munin-node.conf.erb"),
# this has to be installed before the package, so the postinst can
# boot the munin-node without failure!
before => Package['munin-node'],