X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c97ab416b812405837e803dd3a4a42c3ef134c1f..8e86bcdcde5541c466540d6a9f908b17fc9c4884:/roles/draco.rb diff --git a/roles/draco.rb b/roles/draco.rb index 770d8fc96..662172a77 100644 --- a/roles/draco.rb +++ b/roles/draco.rb @@ -2,36 +2,26 @@ name "draco" description "Master role applied to draco" default_attributes( - :apt => { - :sources => [ "ubuntugis-stable", "ubuntugis-unstable" ] - }, :networking => { :interfaces => { - :internal_ipv4 => { - :interface => "eth0", + :internal => { + :interface => "enp3s0f0.2801", :role => :internal, - :family => :inet, - :address => "10.0.0.11" + :inet => { + :address => "10.0.0.11" + } }, - :external_ipv4 => { - :interface => "eth1", + :external => { + :interface => "enp3s0f0.2800", :role => :external, - :family => :inet, - :address => "128.40.45.195" - } - } - }, - :sysctl => { - :tune_cpu_scheduler => { - :comment => "Tune CPU scheduler for server scheduling", - :parameters => { - "kernel.sched_migration_cost" => 50000000, - "kernel.sched_autogroup_enabled" => 0 + :inet => { + :address => "193.60.236.12" + } } } } ) run_list( - "role[ucl-wolfson]" + "role[ucl]" )