X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8eff1012683a165183b67903f8bc1828522a870a..bb670c9eb8501639d3073dfa54c2d921ca8da5ee:/roles/ironbelly.rb diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 1694191e1..46bcde332 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -5,6 +5,9 @@ default_attributes( :apt => { :sources => ["ubuntugis-unstable"] }, + :bind => { + :clients => "equinix" + }, :dhcpd => { :first_address => "10.0.63.1", :last_address => "10.0.63.254" @@ -16,7 +19,8 @@ default_attributes( :disk => { :watermark => { :low => "95%", - :high => "98%" + :high => "98%", + :flood_stage => "99%" } } } @@ -26,21 +30,6 @@ default_attributes( :data => "/store/elasticsearch" } }, - :munin => { - :graphs => { - :apcpdu_ams => { - :title => "Current for Amsterdam", - :vlabel => "Amps", - :category => "Ups", - :values => { - :load => { - :sum => ["apcpdu_pdu1.load", "apcpdu_pdu2.load"], - :label => "Load" - } - } - } - } - }, :networking => { :interfaces => { :internal_ipv4 => { @@ -66,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" }, + "pdu2" => { :address => "10.0.48.101", :module => "apcups" }, + "switch1" => { :address => "130.117.76.2", :module => "if_mib" } + } }, :rsyncd => { :modules => { @@ -145,12 +114,9 @@ run_list( "role[web-storage]", "role[supybot]", "role[backup]", - "role[stats]", "role[planet]", - # "role[planetdump]", - "role[logstash]", + "role[planetdump]", "recipe[rsyncd]", "recipe[dhcpd]", - "recipe[openvpn]", "recipe[tilelog]" )