+ file "/srv/imagery/layers/#{site}/#{layer}.yml" do
+ owner "root"
+ group "root"
+ mode 0o644
+ content YAML.dump(:name => layer,
+ :title => title || layer,
+ :url => "//{s}.#{site}/layer/#{layer}/{z}/{x}/{y}.png",
+ :attribution => copyright,
+ :default => default_layer,
+ :maxZoom => max_zoom,
+ :overlay => overlay)
+ end
+