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