-apt_source "ubuntugis-unstable" do
- url "http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu"
- key "314DF160"
+apt_repository "management-component-pack" do
+ action repository_actions["management-component-pack"]
+ uri "https://downloads.linux.hpe.com/SDR/repo/mcp"
+ if node[:lsb][:release].to_f >= 16.04
+ distribution "xenial/current"
+ else
+ distribution "#{node[:lsb][:codename]}/current"
+ end
+ components ["non-free"]
+ key "C208ADDE26C2B797"