]> git.openstreetmap.org Git - chef.git/blob - roles/lysator.rb
base: sysctl kernel.sched_autogroup_enabled=0
[chef.git] / roles / lysator.rb
1 name "lysator"
2 description "Role applied to all servers at Lysator"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :aoh => { :status => :administrator },
8       :lysroot => { :status => :administrator }
9     }
10   },
11   :hosted_by => "Lysator",
12   :location => "Linköping, Sweden",
13   :networking => {
14     :nameservers => ["130.236.254.225", "2001:6b0:17:f0a0::e1"],
15     :roles => {
16       :external => {
17         :zone => "osm"
18       }
19     }
20   }
21 )
22
23 override_attributes(
24   :ntp => {
25     :servers => ["0.se.pool.ntp.org", "1.se.pool.ntp.org", "europe.pool.ntp.org"]
26   }
27 )
28
29 run_list(
30   "role[se]"
31 )