default_attributes(
:networking => {
- :engine => "systemd-networkd",
:roles => {
:internal => {
:inet => {
:prefix => "20",
- :gateway => "10.0.48.10",
+ :gateway => "10.0.48.14",
:routes => {
- "10.0.0.0/8" => { :via => "10.0.48.10" }
+ "10.0.0.0/8" => { :via => "10.0.48.14" }
}
}
},
:external => {
- :zone => "ams",
- :inet => {
- :prefix => "27",
- :gateway => "130.117.76.1"
- },
- :inet6 => {
- :prefix => "64",
- :gateway => "2001:978:2:2c::172:1",
- :routes => {
- "2001:470:1:b3b::/64" => { :type => "unreachable" }
- }
- }
+ :zone => "ams"
+ }
+ }
+ },
+ :prometheus => {
+ :metrics => {
+ :host_location => {
+ :help => "Host location",
+ :labels => { :site => "amsterdam" }
}
}
},
:web => {
- :fileserver => "ironbelly",
:readonly_database_host => "snap-01.ams.openstreetmap.org",
:primary_cluster => true
}
override_attributes(
:networking => {
- :nameservers => ["10.0.48.10", "8.8.8.8", "8.8.4.4"],
+ :nameservers => ["10.0.48.14", "8.8.8.8", "8.8.4.4"],
:search => ["ams.openstreetmap.org", "openstreetmap.org"]
},
:ntp => {