summaryrefslogtreecommitdiff
path: root/manifests/client/package.pp
diff options
context:
space:
mode:
authormicah <micah@muck.riseup.net>2013-03-20 18:25:28 -0400
committermicah <micah@muck.riseup.net>2013-03-20 18:25:28 -0400
commitc9748747c5c755443d80445a9a6c3f5d2ab3bc7f (patch)
tree65887003b9bceefd7a6ba3e3692b9a6f08373304 /manifests/client/package.pp
parent149a78e7a8465da97f8ea267cd6a75e3bcdefe4d (diff)
parentf79f662bedbbd75c7e2022da282ba48c1b323e90 (diff)
Merge branch 'immerda/master'
Conflicts: files/plugins/xen-cpu templates/munin-node.conf.Debian.squeeze
Diffstat (limited to 'manifests/client/package.pp')
-rw-r--r--manifests/client/package.pp27
1 files changed, 9 insertions, 18 deletions
diff --git a/manifests/client/package.pp b/manifests/client/package.pp
index 29f256d..206ccc8 100644
--- a/manifests/client/package.pp
+++ b/manifests/client/package.pp
@@ -1,21 +1,12 @@
class munin::client::package inherits munin::client::base {
-
- if $munin_node_ensure_version == '' { $munin_node_ensure_version = 'installed' }
-
- if $operatingsystem == "Debian" and $lsbdistcodename != "lenny" {
- package { 'munin-common':
- before => Package['munin-node'],
- ensure => $munin_node_ensure_version;
- }
- }
- package { 'munin-node': ensure => $munin_node_ensure_version }
- 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'],
- }
+ 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'],
+ }
}