:networking => {
:interfaces => {
:internal_ipv4 => {
- :interface => "eth0",
- :role => :internal,
+ :interface => "eth1",
+ :role => :external,
:family => :inet,
- :address => "10.0.0.18"
+ :address => "128.40.45.193"
}
}
},
)
run_list(
- "role[ucl-wates]",
+ "role[ucl-wolfson]",
"role[roundup]"
)
name "ucl-wates"
description "Role applied to all servers at UCL which are in Wates House"
+default_attributes(
+ :networking => {
+ :roles => {
+ :internal => {
+ :inet => {
+ :prefix => "20",
+ :gateway => "10.0.0.3"
+ }
+ },
+ :external => {
+ :zone => "ucl",
+ :inet => {
+ :prefix => "24",
+ :gateway => "128.40.168.126"
+ }
+ }
+ }
+ }
+)
+
override_attributes(
:networking => {
:nameservers => [ "10.0.0.3", "8.8.8.8", "8.8.4.4" ],
--- /dev/null
+name "ucl-wolfson"
+description "Role applied to all servers at UCL which are in Wolfson House"
+
+default_attributes(
+ :networking => {
+ :roles => {
+ :external => {
+ :zone => "ucl",
+ :inet => {
+ :prefix => "27",
+ :gateway => "128.40.45.222"
+ }
+ }
+ }
+ }
+)
+
+override_attributes(
+ :networking => {
+ :nameservers => [ "8.8.8.8", "8.8.4.4" ],
+ :search => [ "openstreetmap.org" ]
+ }
+)
+
+run_list(
+ "role[ucl]"
+)
:bind => {
:forwarders => [ "144.82.100.1", "144.82.100.41" ]
},
- :networking => {
- :roles => {
- :internal => {
- :inet => {
- :prefix => "20",
- :gateway => "10.0.0.3"
- }
- },
- :external => {
- :zone => "ucl",
- :inet => {
- :prefix => "24",
- :gateway => "128.40.168.126"
- }
- }
- }
- },
:sysctl => {
:sack => {
:comment => "Disable SACK as the UCL firewall breaks it",
}
}
}
-
)
override_attributes(