]> git.openstreetmap.org Git - chef.git/blob - roles/yandex.rb
Simplify firewall zones
[chef.git] / roles / yandex.rb
1 name "yandex"
2 description "Role applied to all servers at Yandex"
3
4 default_attributes(
5   :hosted_by => "Yandex",
6   :location => "Moscow, Russia",
7   :timezone => "Europe/Moscow",
8   :networking => {
9     :nameservers => ["8.8.8.8", "8.8.4.4"]
10   }
11 )
12
13 override_attributes(
14   :ntp => {
15     :servers => ["0.ru.pool.ntp.org", "1.ru.pool.ntp.org", "europe.pool.ntp.org"]
16   }
17 )
18
19 run_list(
20   "role[ru]"
21 )