]> git.openstreetmap.org Git - chef.git/blob - roles/carnet.rb
4573dccec54b51f92d169aed3dbf9259ef5c54a2
[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   :munin => {
12     :allow => [ "193.198.233.210" ]
13   },
14   :networking => {
15     :nameservers => [ "2001:b68:ff:1::2", "2001:b68:ff:2::2", "2001:4860:4860::8888" ],
16     :roles => {
17       :external => {
18         :zone => "cnt"
19       }
20     }
21   }
22 )
23
24 override_attributes(
25   :ntp => {
26     :servers => [ "0.hr.pool.ntp.org", "1.hr.pool.ntp.org", "europe.pool.ntp.org" ]
27   }
28 )
29
30 run_list(
31   "role[hr]"
32 )