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
apt_repository "management-component-pack" do
action repository_actions["management-component-pack"]
uri "https://downloads.linux.hpe.com/SDR/repo/mcp"
- distribution "#{node[:lsb][:codename]}/current"
+ distribution "#{node[:lsb][:codename]}/current-gen9"
components ["non-free"]
key "C208ADDE26C2B797"
end