imagery: add socket requirements
authorGrant Slater <git@firefishy.com>
Sun, 17 Jan 2016 22:21:18 +0000 (22:21 +0000)
committerGrant Slater <git@firefishy.com>
Sun, 17 Jan 2016 22:23:11 +0000 (22:23 +0000)
cookbooks/imagery/recipes/default.rb

index 6793900eb4bf00342a421c01ec211d8c02f614b6..e1248787525870f117759ca4cea2c6a2facbf1e9 100644 (file)
@@ -29,6 +29,10 @@ package "cgi-mapserver"
 package "mapcache-cgi"
 package "mapcache-tools"
 
+# Mapserver via Nginx requires as fastcgi spawner
+package "spawn-fcgi"
+package "multiwatch"
+
 # Imagery processing Requirements
 package "imagemagick"
 
@@ -36,6 +40,13 @@ package "imagemagick"
 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/common" do
   owner "root"
   group "root"