aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-09-30 13:40:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-09-30 13:40:26 -0300
commitb4b9cc786d2d7072d7493691f209bbff6044a1d4 (patch)
tree21992028a18b4436e94692ba2850c9126c40892c
parentd58a3ed497ce83a2dd97a9cb7722ad54a18effe7 (diff)
downloadpuppet-nodo-b4b9cc786d2d7072d7493691f209bbff6044a1d4.tar.gz
puppet-nodo-b4b9cc786d2d7072d7493691f209bbff6044a1d4.tar.bz2
Squeeze specific packages on utils::laptop::debian
-rw-r--r--manifests/subsystems/utils/laptop.pp12
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 ? {