]> git.openstreetmap.org Git - chef.git/blob - roles/carnet.rb
Move wiki admin password to wiki cookbook
[chef.git] / roles / carnet.rb
1 name "carnet"
2 description "Role applied to all servers at CARNet"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :anovak => { :status => :administrator },
8       :hbogner => { :status => :administrator }
9     }
10   },
11   :networking => {
12     :nameservers => [ "2001:b68:ff:1::2", "2001:b68:ff:2::2", "2001:4860:4860::8888" ],
13     :roles => {
14       :external => {
15         :zone => "cnt"
16       }
17     }
18   }
19 )
20
21 override_attributes(
22   :ntp => {
23     :servers => [ "0.hr.pool.ntp.org", "1.hr.pool.ntp.org", "europe.pool.ntp.org" ]
24   }
25 )
26
27 run_list(
28   "role[hr]"
29 )