X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/545c9ed2ad8d9ee48a8417f8b98485790fafc170..bb6a3be37eb6b0de039c6451dcad0fe3bddbf55d:/roles/ironbelly.rb diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index cde5fb78c..ad5ea034b 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -5,6 +5,13 @@ default_attributes( :apt => { :sources => ["ubuntugis-unstable"] }, + :bind => { + :clients => "equinix" + }, + :dhcpd => { + :first_address => "10.0.63.1", + :last_address => "10.0.63.254" + }, :elasticsearch => { :cluster => { :routing => { @@ -12,7 +19,8 @@ default_attributes( :disk => { :watermark => { :low => "95%", - :high => "98%" + :high => "98%", + :flood_stage => "99%" } } } @@ -47,35 +55,15 @@ default_attributes( } } }, - :openvpn => { - :address => "10.0.16.2", - :tunnels => { - :ic2ucl => { - :port => "1194", - :mode => "server", - :peer => { - :host => "ridley.openstreetmap.org" - } - }, - :aws2ic => { - :port => "1195", - :mode => "server", - :peer => { - :host => "fafnir.openstreetmap.org" - } - }, - :ic2bm => { - :port => "1196", - :mode => "client", - :peer => { - :host => "grisu.openstreetmap.org", - :port => "1194" - } - } - } - }, :planet => { - :replication => "disabled" + :replication => "enabled" + }, + :prometheus => { + :snmp => { + "pdu1" => { :address => "10.0.48.100", :module => "apcups", :labels => { "site" => "amsterdam" } }, + "pdu2" => { :address => "10.0.48.101", :module => "apcups", :labels => { "site" => "amsterdam" } }, + "switch1" => { :address => "130.117.76.2", :module => "if_mib", :labels => { "site" => "amsterdam" } } + } }, :rsyncd => { :modules => { @@ -121,16 +109,14 @@ default_attributes( ) run_list( - "role[ic]", + "role[equinix]", "role[gateway]", "role[web-storage]", "role[supybot]", "role[backup]", - "role[stats]", "role[planet]", - # "role[planetdump]", - "role[logstash]", + "role[planetdump]", "recipe[rsyncd]", - "recipe[openvpn]", + "recipe[dhcpd]", "recipe[tilelog]" )