]> git.openstreetmap.org Git - chef.git/commitdiff
Fix imager layer deletion
authorTom Hughes <tom@compton.nu>
Sun, 29 Mar 2020 16:31:08 +0000 (17:31 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 29 Mar 2020 16:31:08 +0000 (17:31 +0100)
cookbooks/imagery/recipes/lu_lidar_hillshade.rb

index f626b27af6882a4681c6b741db9d6eefd47d4134..aa169020c7347adc1fcc571e7ea2c25d2da86cad 100644 (file)
 
 include_recipe "imagery"
 
-imagery_site "lidar-hillshade-2019.openstreetmap.lu" do
-  action :delete
-end
-
 imagery_site "lidar-hillshade-2019.openstreetmap.lu" do
   title "OpenStreetMap - Lidar Hillshade 2019"
   bbox [[49.38, 5.64], [50.2, 6.64]]
@@ -40,6 +36,7 @@ end
 
 imagery_layer "vdl_light6" do
   action :delete
+  site "lidar-hillshade-2019.openstreetmap.lu"
 end
 
 imagery_layer "vdl_light6_deflate" do