X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1a4d5ffc47ba7efe859b6c867c136347f7bb36af..bd2c6e857ae00b3df208280e81f4f7e7a9a503dd:/cookbooks/imagery/resources/layer.rb diff --git a/cookbooks/imagery/resources/layer.rb b/cookbooks/imagery/resources/layer.rb index bfcfd3424..e6a78d32d 100644 --- a/cookbooks/imagery/resources/layer.rb +++ b/cookbooks/imagery/resources/layer.rb @@ -54,11 +54,6 @@ action :create do :overlay => overlay) end - file "remove old overlay yaml" do - path "/srv/imagery/overlays/#{site}/#{layer}.yml" - action :delete - end - template "/srv/imagery/mapserver/layer-#{layer}.map" do cookbook "imagery" source "mapserver.map.erb" @@ -125,5 +120,5 @@ end def after_created notifies :create, "imagery_site[#{site}]" - notifies :restart, "service[nginx]" + notifies :reload, "service[nginx]" end