X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a063ec48b346551d815cbf15115ec871c43ca859..0044078ddc06dac65be8e6405e3bb0f54d63d5b7:/roles/imagery.rb?ds=sidebyside diff --git a/roles/imagery.rb b/roles/imagery.rb index 60bb1d930..f243f44c0 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -4,16 +4,15 @@ description "Role applied to all imagery servers" default_attributes( :accounts => { :users => { + :dmlu => { :status => :user }, :htonl => { :status => :user }, + :stereo => { :status => :user }, :imagery => { :status => :role, - :members => [:grant, :tomh, :htonl] + :members => [:grant, :tomh, :dmlu, :htonl, :stereo ] } } }, - :apt => { - :sources => ["nginx"] - }, :sysctl => { :sockets => { :comment => "Increase size of connection queue", @@ -27,13 +26,35 @@ default_attributes( "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]", + "recipe[imagery::gb_ea]", "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]", + "recipe[imagery::lu_ngl_dtm]", + "recipe[imagery::lu_lidar_hillshade]" )