:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.193"
+ :address => "193.60.236.10"
}
}
},
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-g5]",
"role[roundup]"
)
:interface => "enp2s0f1",
:role => :external,
:family => :inet,
- :address => "128.40.45.194"
+ :address => "193.60.236.11"
}
}
}
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-dl360-g6]",
"role[forum]"
)
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.195"
+ :address => "193.60.236.12"
}
}
},
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-g5]"
)
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.196"
+ :address => "193.60.236.13"
}
}
}
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[tyan-s7010]",
"role[dev]"
)
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.197"
+ :address => "193.60.236.14"
}
}
}
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-dl360-g6]",
"role[piwik]"
)
:interface => "em2",
:role => :external,
:family => :inet,
- :address => "128.40.45.199"
+ :address => "193.60.236.15"
}
}
}
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-dl360-g6]",
"role[taginfo]"
)
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.201"
+ :address => "193.60.236.16"
}
}
}
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-dl360-g6]",
"role[gps-tile]"
)
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.202"
+ :address => "193.60.236.17"
}
}
},
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-g5]"
)
:interface => "em2",
:role => :external,
:family => :inet,
- :address => "128.40.45.204"
+ :address => "193.60.236.18"
}
}
},
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[nominatim]"
)
:interface => "eth0",
:role => :external,
:family => :inet,
- :address => "128.40.45.205"
+ :address => "193.60.236.19"
},
:internal_ipv4 => {
:interface => "eth1",
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-dl360-g6]",
"role[gateway]",
"role[foundation]",
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.206"
+ :address => "193.60.236.20"
}
}
}
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-g5]",
"role[yournavigation]"
)
--- /dev/null
+name "ucl-slough"
+description "Role applied to all servers at UCL which are in Slough"
+
+default_attributes(
+ :networking => {
+ :roles => {
+ :internal => {
+ :inet => {
+ :prefix => "20",
+ :gateway => "10.0.0.3"
+ }
+ },
+ :external => {
+ :zone => "ucl",
+ :inet => {
+ :prefix => "24",
+ :gateway => "193.60.236.254"
+ }
+ }
+ }
+ }
+)
+
+override_attributes(
+ :networking => {
+ :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"],
+ :search => ["ucl.openstreetmap.org", "openstreetmap.org"]
+ }
+)
+
+run_list(
+ "role[ucl]"
+)
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.207"
+ :address => "193.60.236.21"
}
}
}
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[hp-dl360-g6]",
"role[munin]"
)
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.208"
+ :address => "193.60.236.22"
}
}
},
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[tyan-s7010]",
"role[tile]"
)
:interface => "eth1",
:role => :external,
:family => :inet,
- :address => "128.40.45.209"
+ :address => "193.60.236.23"
}
}
},
)
run_list(
- "role[ucl-wolfson]",
+ "role[ucl-slough]",
"role[owl]"
)