X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d85c0c761b1ec292ad6294061e3ecbbdb0ec9c5d..35184d77a1a09c3028dbe1cbaf6e20fd2be69859:/roles/imagery.rb?ds=sidebyside diff --git a/roles/imagery.rb b/roles/imagery.rb index 51664ee19..78437a608 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -4,10 +4,12 @@ description "Role applied to all imagery servers" default_attributes( :accounts => { :users => { + :dmlu => { :status => :user }, :htonl => { :status => :user }, + :stereo => { :status => :administrator }, :imagery => { :status => :role, - :members => [:grant, :tomh, :htonl] + :members => [:grant, :tomh, :dmlu, :htonl, :stereo ] } } }, @@ -17,12 +19,15 @@ default_attributes( :parameters => { "net.core.somaxconn" => 10000 } - }, - :kernel_scheduler_tune => { - :comment => "Tune kernel scheduler preempt", - :parameters => { - "kernel.sched_min_granularity_ns" => 10000000, - "kernel.sched_wakeup_granularity_ns" => 15000000 + } + }, + :nginx => { + :cache => { + :fastcgi => { + :enable => true, + :keys_zone => "fastcgi_cache_zone:256M", + :inactive => "45d", + :max_size => "51200M" } } } @@ -30,7 +35,13 @@ default_attributes( 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]" )