# limitations under the License.
#
-package "bash-completion"
-package "dmidecode"
-package "ethtool"
-package "lsof"
-package "lsscsi"
-package "pciutils"
-package "screen"
-package "smartmontools"
-package "strace"
-package "sysstat"
-package "tcpdump"
-package "usbutils"
-package "numactl"
-package "xfsprogs"
-package "sysv-rc-conf"
+package %w[
+ bash-completion
+ dmidecode
+ ethtool
+ lsof
+ lsscsi
+ pciutils
+ screen
+ smartmontools
+ strace
+ sysstat
+ tcpdump
+ usbutils
+ numactl
+ xfsprogs
+ sysv-rc-conf
+ iotop
+ lvm2
+ rsyslog
+]
-if node[:lsb][:release].to_f >= 10.04
- package "iotop"
+service "rsyslog" do
+ action [:enable, :start]
+ supports :status => true, :restart => true, :reload => true
end
-if node[:lsb][:release].to_f <= 11.04
- package "lslk"
+# Remove unused base package
+package "mlocate" do
+ action :purge
+end
+
+# Remove ubuntu "desktop" vestigal package
+package "whoopsie" do
+ action :purge
end