--- /dev/null
+name "angor"
+description "Master role applied to angor"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "eno1",
+ :role => :external,
+ :family => :inet,
+ :address => "196.10.54.165",
+ :prefix => "29",
+ :gateway => "196.10.54.161"
+ },
+ :external_ipv6 => {
+ :interface => "eno1",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:43f8:1f4:b00:b283:feff:fed8:dd45",
+ :prefix => "64"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "6100 MB",
+ :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
+ },
+ :tilecache => {
+ :tile_parent => "london.render.openstreetmap.org",
+ :tile_siblings => [
+ "trogdor.openstreetmap.org",
+ "katie.openstreetmap.org",
+ "konqi.openstreetmap.org",
+ "ridgeback.openstreetmap.org",
+ "gorynych.openstreetmap.org"
+ ]
+ }
+)
+
+run_list(
+ "role[inxza]",
+ "role[tilecache]"
+)
--- /dev/null
+name "inxza"
+description "Role applied to all servers at INX-ZA"
+
+default_attributes(
+ :hosted_by => "INX-ZA",
+ :location => "South Africa",
+ :networking => {
+ :nameservers => [
+ "196.10.52.52",
+ "196.10.54.54",
+ "196.10.55.55"
+ ],
+ :roles => {
+ :external => {
+ :zone => "ixz"
+ }
+ }
+ }
+)
+
+override_attributes(
+ :ntp => {
+ :servers => ["0.za.pool.ntp.org", "1.za.pool.ntp.org", "africa.pool.ntp.org"]
+ }
+)
+
+run_list(
+ "role[za]"
+)