]> git.openstreetmap.org Git - chef.git/blob - roles/nchc.rb
62639e7840fad656e68d1431c9b0e2d76f082da3
[chef.git] / roles / nchc.rb
1 name "nchc"
2 description "Role applied to all servers at NCHC"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :steven => { :status => :administrator },
8       :ceasar => { :status => :administrator }
9     }
10   },
11   :location => "Hsinchu, Taiwan",
12   :networking => {
13     :nameservers => ["8.8.8.8", "8.8.4.4"],
14     :roles => {
15       :external => {
16         :zone => "nc"
17       }
18     }
19   }
20 )
21
22 override_attributes(
23   :ntp => {
24     :servers => ["0.tw.pool.ntp.org", "1.tw.pool.ntp.org", "europe.pool.ntp.org"]
25   }
26 )
27
28 run_list(
29   "role[tw]"
30 )