]> git.openstreetmap.org Git - chef.git/blob - roles/ucl-wolfson.rb
Write temporary data file to same disk as real one
[chef.git] / roles / ucl-wolfson.rb
1 name "ucl-wolfson"
2 description "Role applied to all servers at UCL which are in Wolfson House"
3
4 default_attributes(
5   :networking => {
6     :roles => {
7       :internal => {
8         :inet => {
9           :prefix => "20",
10           :gateway => "10.0.0.3"
11         }
12       },
13       :external => {
14         :zone => "ucl",
15         :inet => {
16           :prefix => "27",
17           :gateway => "128.40.45.222"
18         }
19       }
20     }
21   }
22 )
23
24 override_attributes(
25   :networking => {
26     :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"],
27     :search => ["ucl.openstreetmap.org", "openstreetmap.org"]
28   }
29 )
30
31 run_list(
32   "role[ucl]"
33 )