]> git.openstreetmap.org Git - chef.git/blob - roles/grnet.rb
Make grnet user an administrator on GRNET machines
[chef.git] / roles / grnet.rb
1 name "grnet"
2 description "Role applied to all servers at GRNET"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :grnet => { :status => :administrator }
8     }
9   },
10   :hosted_by => "GRNET",
11   :location => "Athens, Greece",
12   :networking => {
13     :nameservers => [
14       "83.212.2.77"
15     ],
16     :roles => {
17       :external => {
18         :zone => "grn"
19       }
20     }
21   }
22 )
23
24 override_attributes(
25   :ntp => {
26     :servers => ["0.gr.pool.ntp.org", "1.gr.pool.ntp.org", "europe.pool.ntp.org"]
27   }
28 )
29
30 run_list(
31   "role[gr]"
32 )