X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/609545d8aac44ced474b3290c8143bae60d3402e..2d6d56f75a35f748f19411b043b7fc430bdb3c6e:/roles/imagery.rb diff --git a/roles/imagery.rb b/roles/imagery.rb index f8afc666b..3cc42a718 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 => :user }, :imagery => { :status => :role, - :members => [:grant, :tomh, :htonl] + :members => [:grant, :tomh, :dmlu, :htonl, :stereo ] } } }, @@ -25,9 +27,28 @@ default_attributes( "kernel.sched_wakeup_granularity_ns" => 15000000 } } + }, + :nginx => { + :cache => { + :fastcgi => { + :enable => true, + :keys_zone => "fastcgi_cache_zone:256M", + :inactive => "45d", + :max_size => "51200M" + } + } } ) run_list( - "recipe[imagery]" + "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::za_ngi_topo]", + "recipe[imagery::za_coct_aerial]", + "recipe[imagery::na_sgswa_topo]", + "recipe[imagery::lu_ngl_dtm]", + "recipe[imagery::lu_lidar_hillshade]" )