]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/za_ngi_topo.rb
Restrict fail2ban to evasive blocks instead of all 403 errors
[chef.git] / cookbooks / imagery / recipes / za_ngi_topo.rb
index 9bfac98c8a0182efdf74be75d646ddb4c54c9e7f..22cd752faaedd10427db9252fd812e5cdab10e5b 100644 (file)
@@ -1,14 +1,14 @@
 #
-# Cookbook Name:: imagery
-# Recipe:: za-ngi-topo
+# Cookbook:: imagery
+# Recipe:: za_ngi_topo
 #
-# Copyright 2016, OpenStreetMap Foundation
+# Copyright:: 2016, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#     http://www.apache.org/licenses/LICENSE-2.0
+#     https://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
@@ -22,21 +22,22 @@ include_recipe "imagery"
 imagery_site "topo.openstreetmap.org.za" do
   title "OpenStreetMap - NGI - Topographic Series"
   aliases ["topo.osm.org.za"]
-  bbox [[16.23, -35.12], [,33.18, -22.1]]
+  bbox [[-35.12, 16.23], [-22.1, 33.18]]
 end
 
 imagery_layer "za_ngi_topo_250k" do
   site "topo.openstreetmap.org.za"
   title "NGI Topo 250k"
   projection "EPSG:3857"
-  source "/data/imagery/za/ngi-250k/ngi-topo-250k-combined.vrt"
-  copyright "State Copyright &copy; 1996&ndash;2010 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>"
+  source "/data/imagery/za/ngi-topo-250k/ngi-topo-250k-combined.vrt"
+  copyright 'State Copyright &copy; 1996&ndash;2010 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
+  default_layer true
 end
 
 imagery_layer "za_ngi_topo_50k" do
   site "topo.openstreetmap.org.za"
   title "NGI Topo 50k"
   projection "EPSG:3857"
-  source "/data/imagery/za/ngi-50k/ngi-topo-50k-combined.vrt"
-  copyright "State Copyright &copy; 1996&ndash;2013 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>"
+  source "/data/imagery/za/ngi-topo-50k/ngi-topo-50k-combined.vrt"
+  copyright 'State Copyright &copy; 1996&ndash;2013 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
 end