X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3c15d2bb0a9506e8ff9ffd89d679f78d8c51b195..f17e3ae797bc5031f9f0fc4aecf69651516b282f:/roles/fafnir.rb diff --git a/roles/fafnir.rb b/roles/fafnir.rb index 648b7acd4..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,6 +66,6 @@ run_list( "role[equinix-dub]", "role[hp-g9]", "role[gateway]", - "role[web-storage]", + "role[mail]", "recipe[dhcpd]" )