From c934a2e7958fff57793247270a1be1a355336991 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 19 May 2022 20:34:26 +0100 Subject: [PATCH] Remove roles for gorynych and trogdor --- roles/blix-nl.rb | 17 --------------- roles/gorynych.rb | 53 ----------------------------------------------- roles/trogdor.rb | 32 ---------------------------- roles/yandex.rb | 21 ------------------- 4 files changed, 123 deletions(-) delete mode 100644 roles/blix-nl.rb delete mode 100644 roles/gorynych.rb delete mode 100644 roles/trogdor.rb delete mode 100644 roles/yandex.rb diff --git a/roles/blix-nl.rb b/roles/blix-nl.rb deleted file mode 100644 index 936694b1c..000000000 --- a/roles/blix-nl.rb +++ /dev/null @@ -1,17 +0,0 @@ -name "blix-nl" -description "Role applied to all servers at Blix NL" - -default_attributes( - :location => "Amsterdam, Netherlands" -) - -override_attributes( - :ntp => { - :servers => ["0.nl.pool.ntp.org", "1.nl.pool.ntp.org", "europe.pool.ntp.org"] - } -) - -run_list( - "role[nl]", - "role[blix]" -) diff --git a/roles/gorynych.rb b/roles/gorynych.rb deleted file mode 100644 index 704f9940f..000000000 --- a/roles/gorynych.rb +++ /dev/null @@ -1,53 +0,0 @@ -name "gorynych" -description "Master role applied to gorynych" - -default_attributes( - :hardware => { - :ipmi => { - :excluded_sensors => [3, 4] - } - }, - :munin => { - :plugins => { - :smart_sdc => { - :smartctl_exit_status => { :warning => ":8" } - }, - :smart_sdd => { - :smartctl_exit_status => { :warning => ":8" } - } - } - }, - :networking => { - :interfaces => { - :external_ipv4 => { - :interface => "eth1", - :role => :external, - :family => :inet, - :address => "5.45.248.21", - :prefix => "30", - :gateway => "5.45.248.22" - }, - :external_ipv6 => { - :interface => "eth1", - :role => :external, - :family => :inet6, - :address => "2a02:6b8:b010:5065::a001", - :prefix => "64", - :gateway => "2a02:6b8:b010:5065::1" - } - } - }, - :sysfs => { - :md_tune => { - :comment => "Tune the md sync performance so as not to kill system performance", - :parameters => { - "block/md0/md/sync_speed_min" => "1", - "block/md0/md/sync_speed_max" => "100000" - } - } - } -) - -run_list( - "role[yandex]" -) diff --git a/roles/trogdor.rb b/roles/trogdor.rb deleted file mode 100644 index cfa86b2b2..000000000 --- a/roles/trogdor.rb +++ /dev/null @@ -1,32 +0,0 @@ -name "trogdor" -description "Master role applied to trogdor" - -default_attributes( - :networking => { - :interfaces => { - :external_ipv4 => { - :interface => "eth0", - :role => :external, - :family => :inet, - :address => "134.90.146.26", - :prefix => "30", - :gateway => "134.90.146.25" - } - } - }, - :sysfs => { - :md_tune => { - :comment => "Tune the md sync performance so as not to kill system performance", - :parameters => { - "block/md0/md/sync_speed_min" => "1", - "block/md0/md/sync_speed_max" => "100000", - "block/md1/md/sync_speed_min" => "1", - "block/md1/md/sync_speed_max" => "100000" - } - } - } -) - -run_list( - "role[blix-nl]" -) diff --git a/roles/yandex.rb b/roles/yandex.rb deleted file mode 100644 index 9acde36c1..000000000 --- a/roles/yandex.rb +++ /dev/null @@ -1,21 +0,0 @@ -name "yandex" -description "Role applied to all servers at Yandex" - -default_attributes( - :hosted_by => "Yandex", - :location => "Moscow, Russia", - :timezone => "Europe/Moscow", - :networking => { - :wireguard => { :keepalive => 180 } - } -) - -override_attributes( - :ntp => { - :servers => ["0.ru.pool.ntp.org", "1.ru.pool.ntp.org", "europe.pool.ntp.org"] - } -) - -run_list( - "role[ru]" -) -- 2.39.5