X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4995554e7b535b58f0f730eca6e6df9082aad083..7e52994e42d49a148ab9b1931d79e59f837af8a7:/roles/ucl.rb diff --git a/roles/ucl.rb b/roles/ucl.rb index f3a030595..b3220a994 100644 --- a/roles/ucl.rb +++ b/roles/ucl.rb @@ -8,7 +8,10 @@ default_attributes( :internal => { :inet => { :prefix => "20", - :gateway => "10.0.0.3" + :gateway => "10.0.0.3", + :routes => { + "10.0.0.0/8" => { :via => "10.0.0.3" } + } } }, :external => { @@ -18,6 +21,9 @@ default_attributes( :gateway => "193.60.236.254" } } + }, + :wireguard => { + :keepalive => 180 } } ) @@ -28,10 +34,11 @@ override_attributes( :search => ["ucl.openstreetmap.org", "openstreetmap.org"] }, :ntp => { - :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] + :servers => ["ntp1.ucl.ac.uk", "ntp2.ucl.ac.uk"] } ) run_list( - "role[gb]" + "role[gb]", + "recipe[prometheus]" )