From 68da77a8bfaeed546203ed2d004eb83ba6b88fb7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 28 Jul 2019 11:08:23 +0100 Subject: [PATCH] Add timezone information to nodes --- roles/aarnet.rb | 1 + roles/az.rb | 3 ++- roles/by.rb | 3 ++- roles/c3sl.rb | 1 + roles/ch.rb | 3 ++- roles/cl.rb | 3 ++- roles/cz.rb | 5 +++-- roles/de.rb | 3 ++- roles/dk.rb | 3 ++- roles/es.rb | 3 ++- roles/fr.rb | 3 ++- roles/gb.rb | 3 ++- roles/gr.rb | 3 ++- roles/hr.rb | 3 ++- roles/hu.rb | 3 ++- roles/ie.rb | 3 ++- roles/netalerts.rb | 1 + roles/nl.rb | 3 ++- roles/no.rb | 3 ++- roles/nz.rb | 3 ++- roles/osuosl.rb | 1 + roles/prgmr.rb | 1 + roles/se.rb | 3 ++- roles/teraswitch.rb | 1 + roles/tw.rb | 3 ++- roles/ua.rb | 3 ++- roles/yandex.rb | 1 + roles/za.rb | 3 ++- 28 files changed, 50 insertions(+), 22 deletions(-) diff --git a/roles/aarnet.rb b/roles/aarnet.rb index 7cda2b70e..7e2b97e8b 100644 --- a/roles/aarnet.rb +++ b/roles/aarnet.rb @@ -10,6 +10,7 @@ default_attributes( }, :hosted_by => "AARNet", :location => "Carlton, Victoria, Australia", + :timezone => "Australia/Melbourne", :networking => { :nameservers => ["202.158.207.1", "202.158.207.2"] } diff --git a/roles/az.rb b/roles/az.rb index 037dcb422..0d8a30b7a 100644 --- a/roles/az.rb +++ b/roles/az.rb @@ -2,7 +2,8 @@ name "az" description "Role applied to all servers located in Azerbaijan" override_attributes( - :country => "az" + :country => "az", + :timezone => "Asia/Baku" ) run_list( diff --git a/roles/by.rb b/roles/by.rb index 60a54bcaa..918d3396a 100644 --- a/roles/by.rb +++ b/roles/by.rb @@ -2,7 +2,8 @@ name "by" description "Role applied to all servers located in Belarus" override_attributes( - :country => "by" + :country => "by", + :timezone => "Europe/Minsk" ) run_list( diff --git a/roles/c3sl.rb b/roles/c3sl.rb index e53eb64b2..08708084e 100644 --- a/roles/c3sl.rb +++ b/roles/c3sl.rb @@ -9,6 +9,7 @@ default_attributes( }, :hosted_by => "Centro de Computação Científica e Software Livre, Universidade Federal do Paraná", :location => "Curitiba, Brazil", + :timezone => "America/Sao_Paulo", :networking => { :nameservers => ["200.17.202.3", "200.236.31.1"], :roles => { diff --git a/roles/ch.rb b/roles/ch.rb index daee53a87..d3fc1f703 100644 --- a/roles/ch.rb +++ b/roles/ch.rb @@ -2,7 +2,8 @@ name "ch" description "Role applied to all servers located in Switzerland" override_attributes( - :country => "ch" + :country => "ch", + :timezone => "Europe/Zurich" ) run_list( diff --git a/roles/cl.rb b/roles/cl.rb index 8686bd5c0..44ffb0773 100644 --- a/roles/cl.rb +++ b/roles/cl.rb @@ -2,7 +2,8 @@ name "cl" description "Role applied to all servers located in Chile" override_attributes( - :country => "cl" + :country => "cl", + :timezone => "America/Santiago" ) run_list( diff --git a/roles/cz.rb b/roles/cz.rb index 8b7b08441..641fd9e2f 100644 --- a/roles/cz.rb +++ b/roles/cz.rb @@ -1,8 +1,9 @@ name "cz" -description "Role applied to all servers located in the Czech Repuclib" +description "Role applied to all servers located in the Czech Republic" override_attributes( - :country => "cz" + :country => "cz", + :timezone => "Europe/Prague" ) run_list( diff --git a/roles/de.rb b/roles/de.rb index 9fd3dbb78..21b0caf05 100644 --- a/roles/de.rb +++ b/roles/de.rb @@ -2,7 +2,8 @@ name "de" description "Role applied to all servers located in Germany" override_attributes( - :country => "de" + :country => "de", + :timezone => "Europe/Berlin" ) run_list( diff --git a/roles/dk.rb b/roles/dk.rb index 2fbe1c9b8..31cf3893c 100644 --- a/roles/dk.rb +++ b/roles/dk.rb @@ -2,7 +2,8 @@ name "dk" description "Role applied to all servers located in Denmark" override_attributes( - :country => "dk" + :country => "dk", + :timezone => "Europe/Copenhagen" ) run_list( diff --git a/roles/es.rb b/roles/es.rb index 4c66e5308..30e0e6497 100644 --- a/roles/es.rb +++ b/roles/es.rb @@ -2,7 +2,8 @@ name "es" description "Role applied to all servers located in Spain" override_attributes( - :country => "es" + :country => "es", + :timezone => "Europe/Madrid" ) run_list( diff --git a/roles/fr.rb b/roles/fr.rb index 0e076d9e7..7403aa8a6 100644 --- a/roles/fr.rb +++ b/roles/fr.rb @@ -2,7 +2,8 @@ name "fr" description "Role applied to all servers located in France" override_attributes( - :country => "fr" + :country => "fr", + :timezone => "Europe/Paris" ) run_list( diff --git a/roles/gb.rb b/roles/gb.rb index 7362781f1..fc52fb14e 100644 --- a/roles/gb.rb +++ b/roles/gb.rb @@ -2,7 +2,8 @@ name "gb" description "Role applied to all servers located in the UK" override_attributes( - :country => "gb" + :country => "gb", + :timezone => "Europe/London" ) run_list( diff --git a/roles/gr.rb b/roles/gr.rb index 69053278e..d785b052d 100644 --- a/roles/gr.rb +++ b/roles/gr.rb @@ -2,7 +2,8 @@ name "gr" description "Role applied to all servers located in Greece" override_attributes( - :country => "gr" + :country => "gr", + :timezone => "Europe/Athens" ) run_list( diff --git a/roles/hr.rb b/roles/hr.rb index f5bc1e1a9..4421a1169 100644 --- a/roles/hr.rb +++ b/roles/hr.rb @@ -2,7 +2,8 @@ name "hr" description "Role applied to all servers located in Croatia" override_attributes( - :country => "hr" + :country => "hr", + :timezone => "Europe/Zagreb" ) run_list( diff --git a/roles/hu.rb b/roles/hu.rb index 073abad90..1f37de9b1 100644 --- a/roles/hu.rb +++ b/roles/hu.rb @@ -2,7 +2,8 @@ name "hu" description "Role applied to all servers located in Hungary" override_attributes( - :country => "hu" + :country => "hu", + :timezone => "Europe/Budapest" ) run_list( diff --git a/roles/ie.rb b/roles/ie.rb index 812ba6bb5..75a2a260a 100644 --- a/roles/ie.rb +++ b/roles/ie.rb @@ -2,7 +2,8 @@ name "ie" description "Role applied to all servers located in Ireland" override_attributes( - :country => "ie" + :country => "ie", + :timezone => "Europe/Dublin" ) run_list( diff --git a/roles/netalerts.rb b/roles/netalerts.rb index 6f401ecc5..41f190832 100644 --- a/roles/netalerts.rb +++ b/roles/netalerts.rb @@ -4,6 +4,7 @@ description "Role applied to all servers at NetAlerts" default_attributes( :hosted_by => "NetAlerts", :location => "Montréal, Canada", + :timezone => "America/Montreal", :networking => { :nameservers => [ "209.172.41.202", diff --git a/roles/nl.rb b/roles/nl.rb index e42f1b222..184d3d39a 100644 --- a/roles/nl.rb +++ b/roles/nl.rb @@ -2,7 +2,8 @@ name "nl" description "Role applied to all servers located in the Netherlands" override_attributes( - :country => "nl" + :country => "nl", + :timezone => "Europe/Amsterdam" ) run_list( diff --git a/roles/no.rb b/roles/no.rb index ce6e2bf02..a352a4246 100644 --- a/roles/no.rb +++ b/roles/no.rb @@ -2,7 +2,8 @@ name "no" description "Role applied to all servers located in Norway" override_attributes( - :country => "no" + :country => "no", + :timezone => "Europe/Oslo" ) run_list( diff --git a/roles/nz.rb b/roles/nz.rb index c7adbe837..aa08a96c8 100644 --- a/roles/nz.rb +++ b/roles/nz.rb @@ -2,7 +2,8 @@ name "nz" description "Role applied to all servers located in New Zealand" override_attributes( - :country => "nz" + :country => "nz", + :timezone => "Pacific/Auckland" ) run_list( diff --git a/roles/osuosl.rb b/roles/osuosl.rb index 33f18e7ee..f80b1177a 100644 --- a/roles/osuosl.rb +++ b/roles/osuosl.rb @@ -9,6 +9,7 @@ default_attributes( }, :hosted_by => "OSUOSL", :location => "Corvallis, Oregon", + :timezone => "PST8PDT", :networking => { :nameservers => ["8.8.8.8", "8.8.4.4"], :roles => { diff --git a/roles/prgmr.rb b/roles/prgmr.rb index 63a7f8bd4..e6816ebc3 100644 --- a/roles/prgmr.rb +++ b/roles/prgmr.rb @@ -4,6 +4,7 @@ description "Role applied to all servers at prgmr.com" default_attributes( :hosted_by => "prgmr.com", :location => "San Francisco, California", + :timezone => "PST8PDT", :networking => { :nameservers => ["8.8.4.4", "65.19.174.2", "65.19.175.2"], :roles => { diff --git a/roles/se.rb b/roles/se.rb index cab945af3..18bc425a0 100644 --- a/roles/se.rb +++ b/roles/se.rb @@ -2,7 +2,8 @@ name "se" description "Role applied to all servers located in Sweden" override_attributes( - :country => "se" + :country => "se", + :timezone => "Europe/Stockholm" ) run_list( diff --git a/roles/teraswitch.rb b/roles/teraswitch.rb index 1fb206e0a..292232e62 100644 --- a/roles/teraswitch.rb +++ b/roles/teraswitch.rb @@ -9,6 +9,7 @@ default_attributes( }, :hosted_by => "TeraSwitch Networks", :location => "Pittsburgh, Pennsylvania", + :timezone => "EST5EDT", :networking => { :nameservers => [ "1.1.1.1", diff --git a/roles/tw.rb b/roles/tw.rb index a52541dfc..9d46c3aa9 100644 --- a/roles/tw.rb +++ b/roles/tw.rb @@ -2,7 +2,8 @@ name "tw" description "Role applied to all servers located in Taiwan" override_attributes( - :country => "tw" + :country => "tw", + :timezone => "Asia/Taipei" ) run_list( diff --git a/roles/ua.rb b/roles/ua.rb index 48674f9ee..7674f809c 100644 --- a/roles/ua.rb +++ b/roles/ua.rb @@ -2,7 +2,8 @@ name "ua" description "Role applied to all servers located in Ukraine" override_attributes( - :country => "ua" + :country => "ua", + :timezone => "Europe/Kiev" ) run_list( diff --git a/roles/yandex.rb b/roles/yandex.rb index 3e3c31c6e..019995047 100644 --- a/roles/yandex.rb +++ b/roles/yandex.rb @@ -4,6 +4,7 @@ description "Role applied to all servers at Yandex" default_attributes( :hosted_by => "Yandex", :location => "Moscow, Russia", + :timezone => "Europe/Moscow", :networking => { :nameservers => ["8.8.8.8", "8.8.4.4"], :roles => { diff --git a/roles/za.rb b/roles/za.rb index f42d36607..9c207bc63 100644 --- a/roles/za.rb +++ b/roles/za.rb @@ -2,7 +2,8 @@ name "za" description "Role applied to all servers located in South Africa" override_attributes( - :country => "za" + :country => "za", + :timezone => "Africa/Johannesburg" ) run_list( -- 2.43.2