summaryrefslogtreecommitdiff
path: root/manifests/client/package.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client/package.pp')
-rw-r--r--manifests/client/package.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/client/package.pp b/manifests/client/package.pp
new file mode 100644
index 0000000..84fcf5c
--- /dev/null
+++ b/manifests/client/package.pp
@@ -0,0 +1,11 @@
+class munin::client::package inherits munin::client::base {
+ package { 'munin-node': ensure => installed }
+ Service['munin-node']{
+ require => Package[munin-node],
+ }
+ File['/etc/munin/munin-node.conf']{
+ # this has to be installed before the package, so the postinst can
+ # boot the munin-node without failure!
+ before => Package['munin-node'],
+ }
+}