X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2d691940e6d5aa7fd466801901a44154f291c0a6..953568ac810971babd2c310ca6b8e1a0a30793a5:/roles/draco.rb?ds=inline diff --git a/roles/draco.rb b/roles/draco.rb index ac7755054..662172a77 100644 --- a/roles/draco.rb +++ b/roles/draco.rb @@ -4,32 +4,24 @@ description "Master role applied to draco" default_attributes( :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "enp3s0f0.2801", :role => :internal, - :family => :inet, - :address => "10.0.0.11" + :inet => { + :address => "10.0.0.11" + } }, - :external_ipv4 => { + :external => { :interface => "enp3s0f0.2800", :role => :external, - :family => :inet, - :address => "193.60.236.12" - } - } - }, - :sysctl => { - :tune_cpu_scheduler => { - :comment => "Tune CPU scheduler for server scheduling", - :parameters => { - "kernel.sched_migration_cost_ns" => 50000000, - "kernel.sched_autogroup_enabled" => 0 + :inet => { + :address => "193.60.236.12" + } } } } ) run_list( - "role[ucl]", - "role[hp-g5]" + "role[ucl]" )