From b4b9cc786d2d7072d7493691f209bbff6044a1d4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 30 Sep 2012 13:40:26 -0300 Subject: Squeeze specific packages on utils::laptop::debian --- manifests/subsystems/utils/laptop.pp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'manifests/subsystems') 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 ? { -- cgit v1.2.3