From aeb4d6adec272b9cbcfe02e04f06f0db9a7777f8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 Jan 2013 00:36:32 -0200 Subject: Using kismet package just on squeeze laptops --- manifests/subsystems/utils/laptop.pp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'manifests/subsystems/utils/laptop.pp') diff --git a/manifests/subsystems/utils/laptop.pp b/manifests/subsystems/utils/laptop.pp index 614e278..4b4c2da 100644 --- a/manifests/subsystems/utils/laptop.pp +++ b/manifests/subsystems/utils/laptop.pp @@ -15,10 +15,10 @@ class utils::laptop::debian { 'revelation', 'wicd', 'wicd-curses', 'iw', 'wvdial', 'wavemon', 'btscanner', 'laptop-mode-tools', 'acpi-support', - 'kismet', 'sharutils', 'wireshark', + 'tftp', 'sharutils', 'wireshark', 'macchanger', 'weplab', 'wpagui', 'gnokii', 'mumble', 'arp-scan', - 'tftp', 'usb-modeswitch' ]: + 'usb-modeswitch' ]: ensure => installed, } @@ -30,6 +30,14 @@ class utils::laptop::debian { } } + # Squeeze specific packages + package { 'kismet': + ensure => $::lsbdistcodename ? { + 'squeeze' => installed, + default => absent, + } + } + # Hibernation on lenny if $::lsbdistcodename == 'lenny' { $hibernate = hiera('nodo::laptop::hibernate', false) -- cgit v1.2.3