: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" }
}
}
},
override_attributes(
:networking => {
- :nameservers => ["10.0.48.10", "74.82.42.42", "2001:470:20::2"],
+ :nameservers => ["10.0.48.14", "74.82.42.42", "2001:470:20::2"],
:search => ["ams.openstreetmap.org", "openstreetmap.org"]
},
:ntp => {
description "Master role applied to ironbelly"
default_attributes(
- :dhcpd => {
- :first_address => "10.0.63.1",
- :last_address => "10.0.63.254"
- },
:elasticsearch => {
:cluster => {
:routing => {
}
}
},
- :prometheus => {
- :junos => {
- "switch1" => { :address => "184.104.179.129", :labels => { "site" => "amsterdam" } }
- },
- :snmp => {
- "pdu1" => { :address => "10.0.48.100", :modules => %w[apcups], :labels => { "site" => "amsterdam" } },
- "pdu2" => { :address => "10.0.48.101", :modules => %w[apcups], :labels => { "site" => "amsterdam" } }
- },
- :metrics => {
- :uplink_interface => {
- :help => "Site uplink interface name",
- :labels => { :site => "amsterdam", :name => "ge-[01]/2/[02]" }
- }
- }
- },
:nginx => {
:cache => {
:proxy => {
run_list(
"role[equinix-ams]",
- "role[gateway]",
- "recipe[rsyncd]",
- "recipe[dhcpd]"
+ "recipe[rsyncd]"
)
description "Master role applied to tabaluga"
default_attributes(
+ :dhcpd => {
+ :first_address => "10.0.63.1",
+ :last_address => "10.0.63.254"
+ },
:networking => {
:interfaces => {
:internal => {
}
}
}
+ },
+ :prometheus => {
+ :junos => {
+ "switch1" => { :address => "184.104.179.129", :labels => { "site" => "amsterdam" } }
+ },
+ :snmp => {
+ "pdu1" => { :address => "10.0.48.100", :modules => %w[apcups], :labels => { "site" => "amsterdam" } },
+ "pdu2" => { :address => "10.0.48.101", :modules => %w[apcups], :labels => { "site" => "amsterdam" } }
+ },
+ :metrics => {
+ :uplink_interface => {
+ :help => "Site uplink interface name",
+ :labels => { :site => "amsterdam", :name => "ge-[01]/2/[02]" }
+ }
+ }
}
)
"role[equinix-ams]",
"role[hp-g9]",
"role[blog-staging]",
- "role[taginfo]"
+ "role[taginfo]",
+ "role[gateway]",
+ "recipe[dhcpd]"
)