diff options
-rw-r--r-- | manifests/subsystems/utils.pp | 15 |
1 files changed, 11 insertions, 4 deletions
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, |