summaryrefslogtreecommitdiff
path: root/manifests/client/base.pp
diff options
context:
space:
mode:
authorduritong <peter.meier+github@immerda.ch>2014-01-25 06:22:18 -0800
committerduritong <peter.meier+github@immerda.ch>2014-01-25 06:22:18 -0800
commit21eeb6c772a2e8b362b6917694f169d5b2c7032d (patch)
tree5d851c42f824570900fa5896c50be65fe2d31632 /manifests/client/base.pp
parent09316f8abaa90b816be0c3dae35c86b41959bd2b (diff)
parent151b37a22ee5822101aa316d0c0620ad535c80d1 (diff)
Merge pull request #30 from oxilion/file-cleanup
Clean up files by using templates
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'],