X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6dda13cb4af5b26e536150c4d6885cf5550e98e7..494698d937f4b47e6110e1eefc7d84822dc91562:/roles/fafnir.rb diff --git a/roles/fafnir.rb b/roles/fafnir.rb index a6494a660..8261d7afd 100644 --- a/roles/fafnir.rb +++ b/roles/fafnir.rb @@ -9,6 +9,16 @@ default_attributes( :first_address => "10.0.79.1", :last_address => "10.0.79.254" }, + :exim => { + :smarthost_name => "fafnir.openstreetmap.org", + :routes => { + :openstreetmap => { + :comment => "openstreetmap.org", + :domains => ["openstreetmap.org"], + :host => ["shenron.openstreetmap.org"] + } + } + }, :networking => { :interfaces => { :internal_ipv4 => { @@ -39,9 +49,9 @@ default_attributes( }, :prometheus => { :snmp => { - "pdu1" => { :address => "10.0.64.100", :modules => ["apcups"], :labels => { "site" => "dublin" } }, - "pdu2" => { :address => "10.0.64.101", :modules => ["apcups"], :labels => { "site" => "dublin" } }, - "switch1" => { :address => "184.104.226.97", :modules => ["if_mib"], :labels => { "site" => "dublin" } } + "pdu1" => { :address => "10.0.64.100", :modules => %w[apcups], :labels => { "site" => "dublin" } }, + "pdu2" => { :address => "10.0.64.101", :modules => %w[apcups], :labels => { "site" => "dublin" } }, + "switch1" => { :address => "184.104.226.97", :modules => %w[if_mib juniper_ex4300], :labels => { "site" => "dublin" } } }, :metrics => { :uplink_interface => { @@ -56,5 +66,6 @@ run_list( "role[equinix-dub]", "role[hp-g9]", "role[gateway]", + "role[mail]", "recipe[dhcpd]" )