X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/839b33b39c87675b65d5b810a455575154cea105..802c8345a5d7084d60e6ba1cc3ab1e6d3ca9e8ea:/roles/albi.rb diff --git a/roles/albi.rb b/roles/albi.rb index baa5fa0bd..8608554e5 100644 --- a/roles/albi.rb +++ b/roles/albi.rb @@ -4,60 +4,24 @@ description "Master role applied to albi" default_attributes( :networking => { :interfaces => { - :external_ipv4 => { + :external => { :interface => "enp1s0f0", :role => :external, - :family => :inet, - :address => "51.159.53.238", - :prefix => "24", - :gateway => "51.159.53.1" - }, - :external_ipv6 => { - :interface => "enp1s0f0", - :role => :external, - :family => :inet6, - :address => "2001:bc8:1200:4:dac4:97ff:fe8a:9cfc", - :prefix => "64", - :gateway => "fe80::a293:51ff:fea2:ded5" - } - } - }, - :postgresql => { - :versions => ["12"], - :settings => { - :defaults => { - :shared_buffers => "8GB", - :maintenance_work_mem => "7144MB", - :effective_cache_size => "16GB" - } - } - }, - :sysctl => { - :postgres => { - :comment => "Increase shared memory for postgres", - :parameters => { - "kernel.shmmax" => 9 * 1024 * 1024 * 1024, - "kernel.shmall" => 9 * 1024 * 1024 * 1024 / 4096 - } - } - }, - :tile => { - :database => { - :cluster => "12/main", - :postgis => "3" - }, - :styles => { - :default => { - :revision => "v5.0.0", - :tile_directories => [ - { :name => "/store/tiles/default", :min_zoom => 0, :max_zoom => 19 } - ] + :inet => { + :address => "51.159.53.238", + :prefix => "24", + :gateway => "51.159.53.1" + }, + :inet6 => { + :address => "2001:bc8:1200:4:dac4:97ff:fe8a:9cfc", + :prefix => "64", + :gateway => "fe80::a293:51ff:fea2:ded5" + } } } } ) run_list( - "role[scaleway]", - "role[tile]" + "role[scaleway]" )