]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
Add role for noomoahk
[chef.git] / roles / ironbelly.rb
index cde5fb78ce1627542a4f37c4015e2e4bc62c08a0..1694191e1f5b469306e93ce63dcaa641d1c1edfd 100644 (file)
@@ -5,6 +5,10 @@ default_attributes(
   :apt => {
     :sources => ["ubuntugis-unstable"]
   },
+  :dhcpd => {
+    :first_address => "10.0.63.1",
+    :last_address => "10.0.63.254"
+  },
   :elasticsearch => {
     :cluster => {
       :routing => {
@@ -22,6 +26,21 @@ default_attributes(
       :data => "/store/elasticsearch"
     }
   },
+  :munin => {
+    :graphs => {
+      :apcpdu_ams => {
+        :title => "Current for Amsterdam",
+        :vlabel => "Amps",
+        :category => "Ups",
+        :values => {
+          :load => {
+            :sum => ["apcpdu_pdu1.load", "apcpdu_pdu2.load"],
+            :label => "Load"
+          }
+        }
+      }
+    }
+  },
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
@@ -121,7 +140,7 @@ default_attributes(
 )
 
 run_list(
-  "role[ic]",
+  "role[equinix]",
   "role[gateway]",
   "role[web-storage]",
   "role[supybot]",
@@ -131,6 +150,7 @@ run_list(
   # "role[planetdump]",
   "role[logstash]",
   "recipe[rsyncd]",
+  "recipe[dhcpd]",
   "recipe[openvpn]",
   "recipe[tilelog]"
 )