]> git.openstreetmap.org Git - chef.git/blob - roles/datahata.rb
965424cad2f0ea1c38d743ff5dd1d0f594391350
[chef.git] / roles / datahata.rb
1 name "datahata"
2 description "Role applied to all servers at DataHata"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :kom => { :status => :administrator }
8     }
9   },
10   :location => "Minsk, Belarus",
11   :networking => {
12     :nameservers => [
13       "31.130.200.2"
14     ],
15     :roles => {
16       :external => {
17         :zone => "dh"
18       }
19     }
20   }
21 )
22
23 override_attributes(
24   :ntp => {
25     :servers => ["0.by.pool.ntp.org", "1.by.pool.ntp.org", "europe.pool.ntp.org"]
26   }
27 )
28
29 run_list(
30   "role[by]"
31 )