diff options
-rw-r--r-- | manifests/subsystems/utils/laptop.pp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/manifests/subsystems/utils/laptop.pp b/manifests/subsystems/utils/laptop.pp index 72c490e..67fd43f 100644 --- a/manifests/subsystems/utils/laptop.pp +++ b/manifests/subsystems/utils/laptop.pp @@ -14,14 +14,20 @@ class utils::laptop::debian { 'wpasupplicant', 'ekiga', 'gnome', 'revelation', 'wicd', 'wicd-curses', 'iw', 'wvdial', 'wavemon', - 'btscanner', 'laptop-mode-tools', 'acpi-support', + 'btscanner', 'usb-modeswitch', 'tftp', 'kismet', 'sharutils', 'wireshark', 'macchanger', 'weplab', 'wpagui', - 'gnokii', 'mumble', 'arp-scan', - 'tftp', 'usb-modeswitch' ]: + 'gnokii', 'mumble', 'arp-scan' ]: ensure => installed, } + # Squeeze specific packages + if $lsbdistcodename == 'squeeze' { + package { [ 'laptop-mode-tools', 'acpi-support' ]: + ensure => present, + } + } + # Lenny specific packages package { [ 'madwifi-source', 'madwifi-tools', 'bluez-gnome' ]: ensure => $lsbdistcodename ? { |