]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
Update interface list for fafnir
[chef.git] / roles / ironbelly.rb
index 46bcde332c4055cedd79f4c71139632ab5e6a0d0..362ac19a3db023f5fc616c607841e026be90a2a8 100644 (file)
@@ -6,7 +6,7 @@ default_attributes(
     :sources => ["ubuntugis-unstable"]
   },
   :bind => {
-    :clients => "equinix"
+    :clients => "equinix-ams"
   },
   :dhcpd => {
     :first_address => "10.0.63.1",
@@ -60,9 +60,9 @@ default_attributes(
   },
   :prometheus => {
     :snmp => {
-      "pdu1" => { :address => "10.0.48.100", :module => "apcups" },
-      "pdu2" => { :address => "10.0.48.101", :module => "apcups" },
-      "switch1" => { :address => "130.117.76.2", :module => "if_mib" }
+      "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 => {
@@ -109,7 +109,7 @@ default_attributes(
 )
 
 run_list(
-  "role[equinix]",
+  "role[equinix-ams]",
   "role[gateway]",
   "role[web-storage]",
   "role[supybot]",