]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/resources/layer.rb
nominatim: disable luajit
[chef.git] / cookbooks / imagery / resources / layer.rb
index 6affe4b80b06fe291e0450dcb9748660002f7cc9..7a376fdd1bc1bb5a0cda3f2db2147306a5a7804c 100644 (file)
@@ -19,6 +19,8 @@
 
 require "yaml"
 
+unified_mode true
+
 default_action :create
 
 property :layer, String, :name_property => true
@@ -47,7 +49,7 @@ action :create do
     mode "644"
     content YAML.dump(:name => new_resource.layer,
                       :title => new_resource.title || new_resource.layer,
-                      :url => "//{s}.#{new_resource.site}/layer/#{new_resource.layer}/{z}/{x}/{y}.png",
+                      :url => "//#{new_resource.site}/layer/#{new_resource.layer}/{z}/{x}/{y}.png",
                       :attribution => new_resource.copyright,
                       :default => new_resource.default_layer,
                       :maxZoom => new_resource.max_zoom,