package %w[
apt
apt-transport-https
+ gnupg
update-notifier-common
]
action :delete
end
+template "/etc/apt/preferences.d/99-chef" do
+ source "preferences.erb"
+ owner "root"
+ group "root"
+ mode 0o644
+end
+
apt_update "/etc/apt/sources.list" do
action :nothing
end