projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b732630
)
imagery: remove layer yml on delete
author
Grant Slater
<git@firefishy.com>
Thu, 8 Sep 2016 17:58:12 +0000
(18:58 +0100)
committer
Grant Slater
<git@firefishy.com>
Thu, 8 Sep 2016 17:58:12 +0000
(18:58 +0100)
cookbooks/imagery/resources/layer.rb
patch
|
blob
|
history
diff --git
a/cookbooks/imagery/resources/layer.rb
b/cookbooks/imagery/resources/layer.rb
index 930d089190570af873788d633fd18e0a119555c0..60712a63585c8869252577c01fd12f933645f8d5 100644
(file)
--- a/
cookbooks/imagery/resources/layer.rb
+++ b/
cookbooks/imagery/resources/layer.rb
@@
-105,6
+105,10
@@
action :create do
end
action :delete do
+ file "/srv/imagery/layers/#{site}/#{layer}.yml" do
+ action :delete
+ end
+
service "mapserv-fcgi-layer-#{layer}" do
action [:stop, :disable]
end