X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/82ffabf3d4fe53e6eed6f01e787f7e2af4594146..8334246fa2cad33b518829337467b19abecdc677:/roles/dev.rb diff --git a/roles/dev.rb b/roles/dev.rb index 278e841f6..18e0edfcf 100644 --- a/roles/dev.rb +++ b/roles/dev.rb @@ -5,7 +5,7 @@ default_attributes( :accounts => { :users => { :edgemaster => { :status => :administrator }, - :emacsen => { :status => :administrator }, + :emacsen => { :status => :user }, :twain => { :status => :user }, :bretth => { :status => :user }, :richard => { :status => :user }, @@ -43,7 +43,6 @@ default_attributes( :tomchance => { :status => :user }, :lfrancke => { :status => :user }, :davidearl => { :status => :user }, - :emacsen => { :status => :user }, :rweait => { :status => :user }, :ant => { :status => :user }, :milliams => { :status => :user }, @@ -59,27 +58,34 @@ default_attributes( :cobra => { :status => :user }, :ppawel => { :status => :user }, :simon04 => { :status => :user }, + :jeslop => { :status => :user }, :jfire => { :status => :user }, :malenki => { :status => :user }, :lonvia => { :status => :user }, :nicolas17 => { :status => :user }, :zverik => { :status => :user }, :dodobas => { :status => :user }, - :ooc => { - :status => :role, - :members => [ :tomh, :blackadder, :timsc, :ollie ] + :mhohmann => { :status => :user }, + :enelson => { :status => :user }, + :gregrs => { :status => :user }, + :stereo => { :status => :user }, + :dmlu => { :status => :user }, + :antonkh => { :status => :user }, + :ooc => { + :status => :role, + :members => [:tomh, :blackadder, :timsc, :ollie] }, - :apis => { - :status => :role, - :members => [ :tomh ] + :apis => { + :status => :role, + :members => [:tomh] }, - :os => { - :status => :role, - :members => [ :tomh, :grant, :ollie ] + :os => { + :status => :role, + :members => [:tomh, :grant, :ollie] }, - :gpsmid => { - :status => :role, - :members => [ :apmon, :maba ] + :gpsmid => { + :status => :role, + :members => [:apmon, :maba] } } }, @@ -88,75 +94,70 @@ default_attributes( :timeout => 30, :event => { :server_limit => 32, - :max_clients => 800, + :max_request_workers => 800, :threads_per_child => 50, - :max_requests_per_child => 10000 + :max_connections_per_child => 10000 } }, - :apt => { - :sources => [ - "brightbox-ruby-ng", - "ubuntugis-stable", - "mapnik-v210" - ] - }, :dev => { - :ruby => "1.9.1", :rails => { :master => { - :repository => "git://git.openstreetmap.org/rails.git", + :repository => "https://git.openstreetmap.org/public/rails.git", :revision => "master", - :aliases => [ "api06.dev.openstreetmap.org" ] - }, - :routing => { - :repository => "git://github.com/apmon/openstreetmap-website.git", - :revision => "routing2" + :cgimap_repository => "https://github.com/zerebubuth/openstreetmap-cgimap.git", + :cgimap_revision => "master", + :aliases => ["api06.dev.openstreetmap.org"] }, :tomh => { - :repository => "git://github.com/tomhughes/openstreetmap-website.git", + :repository => "https://github.com/tomhughes/openstreetmap-website.git", :revision => "next" }, - :owl => { - :repository => "git://github.com/ppawel/openstreetmap-website.git", - :revision => "owl-history-tab" + :comments => { + :repository => "https://github.com/ukasiu/openstreetmap-website.git", + :revision => "comments_list" }, - :overpass => { - :repository => "git://github.com/drolbr/openstreetmap-website.git", - :revision => "master" + :locale => { + :repository => "https://github.com/tomhughes/openstreetmap-website.git", + :revision => "locale" }, - :groups => { - :repository => "git://github.com/osmlab/openstreetmap-website.git", - :revision => "groups-sketch" - }, - :help => { - :repository => "git://github.com/osmlab/openstreetmap-website.git", - :revision => "help-page" + :microcosms => { + :repository => "https://github.com/openbrian/osm-microcosms.git", + :revision => "microcosms" } } }, + :exim => { + :smarthost_via => "fafnir.openstreetmap.org:26" + }, :postgresql => { - :versions => [ "9.1" ], + :versions => ["14"], :settings => { :defaults => { + :max_connections => "500", :shared_buffers => "1GB", :work_mem => "32MB", :maintenance_work_mem => "64MB", :max_stack_depth => "4MB", :effective_cache_size => "4GB" }, - "9.1" => { - :port => "5433" + "14" => { + :port => "5432", + :wal_level => "logical", + :max_replication_slots => "1" } } }, :sysctl => { :postgres => { :comment => "Increase shared memory for postgres", - :parameters => { + :parameters => { "kernel.shmall" => "4194304", "kernel.shmmax" => "17179869184" } } + }, + :openssh => { + :password_authentication => true } )