]> git.openstreetmap.org Git - chef.git/blob - roles/datahata.rb
Spin up memcached on the web frontends
[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   :hosted_by => "DataHata",
11   :location => "Minsk, Belarus",
12   :networking => {
13     :nameservers => [
14       "31.130.200.2",
15       "8.8.8.8",
16       "8.8.4.4"
17     ]
18   }
19 )
20
21 override_attributes(
22   :ntp => {
23     :servers => ["0.by.pool.ntp.org", "1.by.pool.ntp.org", "europe.pool.ntp.org"]
24   }
25 )
26
27 run_list(
28   "role[by]"
29 )