diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-09-30 13:40:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-09-30 13:40:26 -0300 |
commit | b4b9cc786d2d7072d7493691f209bbff6044a1d4 (patch) | |
tree | 21992028a18b4436e94692ba2850c9126c40892c | |
parent | d58a3ed497ce83a2dd97a9cb7722ad54a18effe7 (diff) | |
download | puppet-nodo-b4b9cc786d2d7072d7493691f209bbff6044a1d4.tar.gz puppet-nodo-b4b9cc786d2d7072d7493691f209bbff6044a1d4.tar.bz2 |
Squeeze specific packages on utils::laptop::debian
-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 ? { |