X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/07074011fa21aef90a1c7cacb177418aac78739b..7e52994e42d49a148ab9b1931d79e59f837af8a7:/roles/ucl.rb diff --git a/roles/ucl.rb b/roles/ucl.rb index 7715e629a..b3220a994 100644 --- a/roles/ucl.rb +++ b/roles/ucl.rb @@ -2,18 +2,16 @@ name "ucl" description "Role applied to all servers at UCL" default_attributes( - :chef => { - :client => { - :version => "13.6.4" - } - }, :location => "Slough, England", :networking => { :roles => { :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 => { @@ -23,6 +21,9 @@ default_attributes( :gateway => "193.60.236.254" } } + }, + :wireguard => { + :keepalive => 180 } } ) @@ -38,5 +39,6 @@ override_attributes( ) run_list( - "role[gb]" + "role[gb]", + "recipe[prometheus]" )