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