From 7e12d7439282a9a29a73d34e5f7460420f200c80 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 18 Feb 2011 16:51:28 -0200 Subject: Using madwifi just on lenny --- manifests/subsystems/utils.pp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'manifests/subsystems') diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp index 1d7d6d8..ba2c2ce 100644 --- a/manifests/subsystems/utils.pp +++ b/manifests/subsystems/utils.pp @@ -147,13 +147,20 @@ class utils::personal { # Common utilities for laptop class utils::laptop { - package { [ 'cpufrequtils', 'module-assistant', 'madwifi-source', - 'madwifi-tools', 'wireless-tools', 'wpasupplicant', - 'ekiga', 'gnome', 'revelation', - 'wicd', 'bluez-gnome', 'iw' ]: + package { [ 'cpufrequtils', 'module-assistant', 'wireless-tools', + 'wpasupplicant', 'ekiga', 'gnome', + 'revelation', 'wicd', 'bluez-gnome', + 'iw' ]: ensure => installed, } + package { [ 'madwifi-source', 'madwifi-tools' ], + ensure => $lsbdistcodename ? { + 'lenny' => installed, + default => absent, + } + } + # Currently no hibernation package { 'uswsusp': ensure => absent, -- cgit v1.2.3