summaryrefslogtreecommitdiff
path: root/manifests/client/package.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-09-29 22:51:15 +0200
committermh <mh@immerda.ch>2009-09-29 22:51:15 +0200
commit1893960c1babb6a261cc6fc399231e9c0644a104 (patch)
tree7e4fb1f3d2d34490b8d5cfff50d6f9cadf890fb9 /manifests/client/package.pp
parentc63a28d3c16ec2bb3a46d3d5faf6d7ef3b737b70 (diff)
refactor everything into its own file
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'],
+ }
+}