]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/recipes/default.rb
Add stretch/current-gen9 repo for HP tools on Gen9 machines
[chef.git] / cookbooks / apt / recipes / default.rb
index 47bd0ad18dac097f4ceb2d8f724afd3f4696c47a..96203cd4d9ac2e831861dddb47c54c2dc999610d 100644 (file)
@@ -48,8 +48,8 @@ if platform?("debian")
   archive_security_host = archive_host
   archive_distro = "debian"
   archive_security_distro = "debian-security"
-  archive_suites = %w[main updates security]
-  archive_components = %w[main contrib non-free]
+  archive_suites = %w[main updates backports security]
+  archive_components = %w[main contrib non-free non-free-firmware]
 elsif intel?
   archive_host = if node[:country]
                    "#{node[:country]}.archive.ubuntu.com"
@@ -86,8 +86,9 @@ template "/etc/apt/sources.list" do
 end
 
 apt_repository "openstreetmap" do
-  uri "ppa:osmadmins/ppa"
-  only_if { platform?("ubuntu") }
+  uri "https://apt.openstreetmap.org"
+  components ["main"]
+  key "https://apt.openstreetmap.org/gpg.key"
 end
 
 package "unattended-upgrades"