X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e683209e4f70c3ef4c859ebcd287544174cd760a..4489b2c6a332cfc87d2a0c1cc8dc118f6bfee15d:/roles/ironbelly.rb?ds=sidebyside diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 5042c4dd0..362ac19a3 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -6,7 +6,7 @@ default_attributes( :sources => ["ubuntugis-unstable"] }, :bind => { - :clients => "equinix" + :clients => "equinix-ams" }, :dhcpd => { :first_address => "10.0.63.1", @@ -58,6 +58,13 @@ default_attributes( :planet => { :replication => "enabled" }, + :prometheus => { + :snmp => { + "pdu1" => { :address => "10.0.48.100", :module => "apcups", :labels => { "site" => "amsterdam" } }, + "pdu2" => { :address => "10.0.48.101", :module => "apcups", :labels => { "site" => "amsterdam" } }, + "switch1" => { :address => "130.117.76.2", :module => "if_mib", :labels => { "site" => "amsterdam" } } + } + }, :rsyncd => { :modules => { :hosts => { @@ -102,7 +109,7 @@ default_attributes( ) run_list( - "role[equinix]", + "role[equinix-ams]", "role[gateway]", "role[web-storage]", "role[supybot]",