]> git.openstreetmap.org Git - chef.git/commitdiff
Use apt.openstreetmap.org for OSM packages
authorTom Hughes <tom@compton.nu>
Tue, 6 Aug 2024 20:10:49 +0000 (21:10 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 6 Aug 2024 20:10:49 +0000 (21:10 +0100)
cookbooks/apt/recipes/default.rb

index 9627bf4d409d91f0a511b6bb783ac642d633fe19..96203cd4d9ac2e831861dddb47c54c2dc999610d 100644 (file)
@@ -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"