rsyslog
]
-if node[:lsb][:release].to_f < 18.04
- package "sysv-rc-conf"
-end
-
service "rsyslog" do
action [:enable, :start]
supports :status => true, :restart => true, :reload => true
end
-# Remove unused base package
-package "mlocate" do
+# Remove some unused and unwanted packages
+package %w[mlocate nano whoopsie] do
action :purge
end
-# Remove ubuntu "desktop" vestigal package
-package "whoopsie" do
- action :purge
+# Remove screen-cleanup left behind by old release.
+file "/etc/init.d/screen-cleanup" do
+ action :delete
end