X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5b5c213d8508454b4cdfb560c8bb3d5692230088..2853b414b3706db2890068f45a91b170058168cd:/roles/fafnir.rb?ds=sidebyside diff --git a/roles/fafnir.rb b/roles/fafnir.rb index cbd12fc1c..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", :module => "apcups", :labels => { "site" => "dublin" } }, - "pdu2" => { :address => "10.0.64.101", :module => "apcups", :labels => { "site" => "dublin" } }, - "switch1" => { :address => "184.104.226.97", :module => "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]" )