]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/gb_surrey_aerial.rb
imagery: add MVP git site support
[chef.git] / cookbooks / imagery / recipes / gb_surrey_aerial.rb
index 97bc879c9e2d216ceb32e29540ec2aff23f69a28..ff82958d2a7f084beccde51f90aec46fe7a219c3 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Cookbook Name:: imagery
-# Recipe:: gb-surrey-aerial
+# Recipe:: gb_surrey_aerial
 #
 # Copyright 2016, OpenStreetMap Foundation
 #
 include_recipe "imagery"
 
 imagery_site "surrey.aerial.openstreetmap.org.uk" do
-  imagery_layer "gb-surrey-aerial" do
-    site new_resource.name
-    projection "EPSG:27700"
-    source "/data/imagery/gb/surrey-aerial/SurreyMosaicECW.tif"
-  end
+  # aliases
+  git_repository "https://github.com/Firefishy/osm-imagery-surrey-aerial-site.git"
+end
+
+imagery_layer "gb_surrey_aerial" do
+  site "surrey.aerial.openstreetmap.org.uk"
+  root_layer true
+  projection "EPSG:27700"
+  source "/data/imagery/gb/surrey-aerial/SurreyMosaicECW.tif"
+  url_aliases ["/sas"]
 end