X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..52010fab3720d37d9c4838eb0d5190ab127f9353:/roles/draco.rb diff --git a/roles/draco.rb b/roles/draco.rb index 2c373e4d5..6d837159f 100644 --- a/roles/draco.rb +++ b/roles/draco.rb @@ -2,30 +2,27 @@ name "draco" description "Master role applied to draco" default_attributes( - :apt => { - :sources => [ "ubuntugis-stable", "ubuntugis-unstable" ] - }, :networking => { :interfaces => { :internal_ipv4 => { - :interface => "eth0", + :interface => "enp3s0f0.2801", :role => :internal, :family => :inet, :address => "10.0.0.11" }, :external_ipv4 => { - :interface => "eth1", + :interface => "enp3s0f0.2800", :role => :external, :family => :inet, - :address => "128.40.168.95" + :address => "193.60.236.12" } } }, :sysctl => { :tune_cpu_scheduler => { :comment => "Tune CPU scheduler for server scheduling", - :parameters => { - "kernel.sched_migration_cost" => 50000000, + :parameters => { + "kernel.sched_migration_cost_ns" => 50000000, "kernel.sched_autogroup_enabled" => 0 } } @@ -33,5 +30,5 @@ default_attributes( ) run_list( - "role[ucl-internal]" + "role[ucl]" )