X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/63950b86398656ed9c68fcbc6cff88b91c758625..4c87577cb2b3d35abd3c833c88ad18ddcd64b3b0:/cookbooks/apt/recipes/default.rb?ds=inline diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index 013c5bc34..659e06536 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -57,11 +57,10 @@ apt_source "ubuntugis-unstable" do key "314DF160" end -if node[:lsb][:release].to_f == 12.04 - apt_source "openstreetmap" do - url "http://ppa.launchpad.net/osmadmins/ppa/ubuntu" - key "0AC4F2CB" - end +apt_source "openstreetmap" do + template "openstreetmap.list.erb" + url "http://ppa.launchpad.net/osmadmins/ppa/ubuntu" + key "0AC4F2CB" end apt_source "management-component-pack" do