]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/default.rb
imagery: fix file extension
[chef.git] / cookbooks / imagery / recipes / default.rb
index 7c3d186aaa642b744fd5385478235fe361444d32..d7827173b068910619de31c7db4405e9888707a3 100644 (file)
@@ -40,13 +40,6 @@ package "imagemagick"
 package "xz-utils"
 package "unzip"
 
 package "xz-utils"
 package "unzip"
 
-# Create Directory for mapserver-fastcgi imagery sockets
-directory "/var/run/mapserver-fastcgi" do
-  owner "imagery"
-  group "imagery"
-  mode 0755
-end
-
 directory "/srv/imagery/mapserver" do
   owner "root"
   group "root"
 directory "/srv/imagery/mapserver" do
   owner "root"
   group "root"
@@ -79,3 +72,15 @@ execute "unzip-ostn02-ntv2-data" do
   group "root"
   not_if { File.exist?("/srv/imagery/common/ostn02-ntv2-data/OSTN02_NTv2.gsb") }
 end
   group "root"
   not_if { File.exist?("/srv/imagery/common/ostn02-ntv2-data/OSTN02_NTv2.gsb") }
 end
+
+nginx_site "default" do
+  action [:delete]
+  restart_nginx false
+end
+
+systemd_tmpfile "/run/mapserver-fastcgi" do
+  type "d"
+  owner "imagery"
+  group "imagery"
+  mode "0755"
+end