]> git.openstreetmap.org Git - chef.git/blob - roles/ucl.rb
Give Stereo access to chef git
[chef.git] / roles / ucl.rb
1 name "ucl"
2 description "Role applied to all servers at UCL"
3
4 default_attributes(
5   :location => "Slough, England",
6   :networking => {
7     :roles => {
8       :internal => {
9         :inet => {
10           :prefix => "20",
11           :gateway => "10.0.0.3"
12         }
13       },
14       :external => {
15         :zone => "ucl",
16         :inet => {
17           :prefix => "24",
18           :gateway => "193.60.236.254"
19         }
20       }
21     }
22   }
23 )
24
25 override_attributes(
26   :networking => {
27     :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"],
28     :search => ["ucl.openstreetmap.org", "openstreetmap.org"]
29   },
30   :ntp => {
31     :servers => ["ntp1.ucl.ac.uk", "ntp2.ucl.ac.uk"]
32   }
33 )
34
35 run_list(
36   "role[gb]"
37 )