diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-30 00:36:32 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-30 00:36:32 -0200 |
commit | aeb4d6adec272b9cbcfe02e04f06f0db9a7777f8 (patch) | |
tree | 4060fb4688afd604ef5be60df3fbd12f8bd7fd98 /manifests/subsystems | |
parent | 87ae592abae647130c6973841a34de1d58d6e758 (diff) | |
download | puppet-nodo-aeb4d6adec272b9cbcfe02e04f06f0db9a7777f8.tar.gz puppet-nodo-aeb4d6adec272b9cbcfe02e04f06f0db9a7777f8.tar.bz2 |
Using kismet package just on squeeze laptops
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/utils/laptop.pp | 12 |
1 files changed, 10 insertions, 2 deletions
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) |