X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/aa75c5e3c13eca1689dc051c655c6b5f4bbccc73..2853b414b3706db2890068f45a91b170058168cd:/roles/fafnir.rb diff --git a/roles/fafnir.rb b/roles/fafnir.rb index cf6d88c53..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,15 @@ 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 => { + :help => "Site uplink interface name", + :labels => { :site => "dublin", :name => "ae50" } + } } } ) @@ -50,6 +66,6 @@ run_list( "role[equinix-dub]", "role[hp-g9]", "role[gateway]", - "role[web-storage]", + "role[mail]", "recipe[dhcpd]" )