]> git.openstreetmap.org Git - chef.git/blob - roles/nchc.rb
tilecache: minimal swapout
[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   :hosted_by => "NCHC",
12   :location => "Hsinchu, Taiwan",
13   :networking => {
14     :nameservers => ["140.110.16.1", "140.110.4.1"],
15     :roles => {
16       :external => {
17         :zone => "nc"
18       }
19     }
20   }
21 )
22
23 override_attributes(
24   :ntp => {
25     :servers => ["0.tw.pool.ntp.org", "1.tw.pool.ntp.org", "europe.pool.ntp.org"]
26   }
27 )
28
29 run_list(
30   "role[tw]"
31 )