]> git.openstreetmap.org Git - chef.git/blobdiff - roles/imagery.rb
Run job processors for the storage queue
[chef.git] / roles / imagery.rb
index 60bb1d930551b4cd580f099eb89f8da99a135c66..fcab7573849ee8c0beeded77fc434baa3916578d 100644 (file)
@@ -12,7 +12,7 @@ default_attributes(
     }
   },
   :apt => {
     }
   },
   :apt => {
-    :sources => ["nginx"]
+    :sources => ["nginx", "ubuntugis-unstable"]
   },
   :sysctl => {
     :sockets => {
   },
   :sysctl => {
     :sockets => {
@@ -27,13 +27,33 @@ default_attributes(
         "kernel.sched_min_granularity_ns" => 10000000,
         "kernel.sched_wakeup_granularity_ns" => 15000000
       }
         "kernel.sched_min_granularity_ns" => 10000000,
         "kernel.sched_wakeup_granularity_ns" => 15000000
       }
+    },
+    :kernel_tfo_listen_enable => {
+      :comment => "Enable TCP Fast Open for listening sockets",
+      :parameters => {
+        "net.ipv4.tcp_fastopen" => 3
+      }
+    }
+  },
+  :nginx => {
+    :cache => {
+      :fastcgi => {
+        :enable => true,
+        :keys_zone => "fastcgi_cache_zone:256M",
+        :inactive => "45d",
+        :max_size => "51200M"
+      }
     }
   }
 )
 
 run_list(
   "recipe[imagery::au_agri]",
     }
   }
 )
 
 run_list(
   "recipe[imagery::au_agri]",
+  "recipe[imagery::gb_ea]",
   "recipe[imagery::gb_hampshire_aerial]",
   "recipe[imagery::gb_os_sv]",
   "recipe[imagery::gb_hampshire_aerial]",
   "recipe[imagery::gb_os_sv]",
-  "recipe[imagery::gb_surrey_aerial]"
+  "recipe[imagery::gb_surrey_aerial]",
+  "recipe[imagery::za_ngi_topo]",
+  "recipe[imagery::za_coct_aerial]",
+  "recipe[imagery::na_sgswa_topo]"
 )
 )