diff options
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/utils/laptop.pp | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/manifests/subsystems/utils/laptop.pp b/manifests/subsystems/utils/laptop.pp index 4b4c2da..38c64c8 100644 --- a/manifests/subsystems/utils/laptop.pp +++ b/manifests/subsystems/utils/laptop.pp @@ -12,32 +12,39 @@ class utils::laptop { class utils::laptop::debian { package { [ 'cpufrequtils', 'module-assistant', 'wireless-tools', 'wpasupplicant', 'ekiga', 'gnome', - 'revelation', 'wicd', 'wicd-curses', + 'revelation', 'arp-scan', 'usb-modeswitch', 'iw', 'wvdial', 'wavemon', 'btscanner', 'laptop-mode-tools', 'acpi-support', 'tftp', 'sharutils', 'wireshark', 'macchanger', 'weplab', 'wpagui', - 'gnokii', 'mumble', 'arp-scan', - 'usb-modeswitch' ]: + 'gnokii', 'mumble', 'arp-scan' ]: ensure => installed, } - # Lenny specific packages - package { [ 'madwifi-source', 'madwifi-tools', 'bluez-gnome' ]: + # Wheezy specific packages + package { 'network-manager': ensure => $::lsbdistcodename ? { - 'lenny' => installed, - default => absent, + 'squeeze' => absent, + default => installed, } } # Squeeze specific packages - package { 'kismet': + package { [ 'kismet', 'wicd', 'wicd-curses' ]: ensure => $::lsbdistcodename ? { 'squeeze' => installed, default => absent, } } + # Lenny specific packages + package { [ 'madwifi-source', 'madwifi-tools', 'bluez-gnome' ]: + ensure => $::lsbdistcodename ? { + 'lenny' => installed, + default => absent, + } + } + # Hibernation on lenny if $::lsbdistcodename == 'lenny' { $hibernate = hiera('nodo::laptop::hibernate', false) |