]> git.openstreetmap.org Git - chef.git/commitdiff
Only install osmadmins on 12.04 machines
authorTom Hughes <tom@compton.nu>
Sun, 2 Nov 2014 08:43:13 +0000 (08:43 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 2 Nov 2014 08:43:39 +0000 (08:43 +0000)
cookbooks/apt/recipes/default.rb

index 792ce6aa31eb3be693c3600bf57037c09c257521..9c0b62ab7d61aa0a6b6d59177c09540cbfa34e50 100644 (file)
@@ -77,7 +77,7 @@ apt_source "brianmercer-php" do
   key "8D0DC64F"
 end
 
   key "8D0DC64F"
 end
 
-if node[:lsb][:release].to_f < 14.04
+if node[:lsb][:release].to_f == 12.04
   apt_source "openstreetmap" do
     url "http://ppa.launchpad.net/osmadmins/ppa/ubuntu"
     key "0AC4F2CB"
   apt_source "openstreetmap" do
     url "http://ppa.launchpad.net/osmadmins/ppa/ubuntu"
     key "0AC4F2CB"