Remove refernces to mapquest and mapzen API keys
authorTom Hughes <tom@compton.nu>
Sun, 17 Mar 2019 11:42:48 +0000 (11:42 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 17 Mar 2019 11:42:48 +0000 (11:42 +0000)
cookbooks/web/resources/rails_port.rb

index 3fc09915306cd31366b39c456275c0bfb4455e24..12c0206529c94e4fdd655eb0cfc26793b73d8ec6 100644 (file)
@@ -244,14 +244,6 @@ action :create do
       line.gsub!(/^( *)#wikipedia_auth_secret:.*$/, "\\1wikipedia_auth_secret: \"#{new_resource.wikipedia_auth_secret}\"")
     end
 
-    if new_resource.mapquest_key
-      line.gsub!(/^( *)#mapquest_key:.*$/, "\\1mapquest_key: \"#{new_resource.mapquest_key}\"")
-    end
-
-    if new_resource.mapzen_valhalla_key
-      line.gsub!(/^( *)#mapzen_valhalla_key:.*$/, "\\1mapzen_valhalla_key: \"#{new_resource.mapzen_valhalla_key}\"")
-    end
-
     if new_resource.thunderforest_key
       line.gsub!(/^( *)#thunderforest_key:.*$/, "\\1thunderforest_key: \"#{new_resource.thunderforest_key}\"")
     end