aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-18 16:51:28 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-18 16:51:28 -0200
commit7e12d7439282a9a29a73d34e5f7460420f200c80 (patch)
treee2e02c01e9bf8f05fdeb3730c429b278dc210824
parent4f70d1a1f5eb614669eef355329ecf9b0454cd35 (diff)
downloadpuppet-nodo-7e12d7439282a9a29a73d34e5f7460420f200c80.tar.gz
puppet-nodo-7e12d7439282a9a29a73d34e5f7460420f200c80.tar.bz2
Using madwifi just on lenny
-rw-r--r--manifests/subsystems/utils.pp15
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,