From fe1c86b8f938283e9dd8196a8b11a9648f4b49e6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 12 Apr 2013 17:09:03 -0300 Subject: Major refactor --- manifests/utils/laptop/debian.pp | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 manifests/utils/laptop/debian.pp (limited to 'manifests/utils/laptop/debian.pp') diff --git a/manifests/utils/laptop/debian.pp b/manifests/utils/laptop/debian.pp new file mode 100644 index 0000000..e4c769c --- /dev/null +++ b/manifests/utils/laptop/debian.pp @@ -0,0 +1,35 @@ +# Common utilities for debian laptops +class nodo::utils::laptop::debian { + package { [ 'cpufrequtils', 'module-assistant', 'wireless-tools', + 'wpasupplicant', 'ekiga', 'mumble', + 'revelation', 'arp-scan', 'usb-modeswitch', + 'iw', 'wvdial', 'wavemon', + 'btscanner', 'laptop-mode-tools', 'acpi-support', + 'tftp', 'sharutils', 'wireshark', + 'macchanger', 'weplab', 'wpagui', + 'gnokii' ]: + ensure => installed, + } + + # Wicd + package { [ 'wicd', 'wicd-curses', 'wicd-gtk' ]: + ensure => installed, + } + + # Wheezy specific packages + package { 'network-manager': + ensure => $::lsbdistcodename ? { + 'squeeze' => absent, + default => absent, + } + } + + # Squeeze specific packages + package { [ 'kismet' ]: + ensure => $::lsbdistcodename ? { + 'squeeze' => installed, + default => absent, + } + } + +} -- cgit v1.2.3