]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ridley.rb
Configure PDU monitoring in Amsterdam
[chef.git] / roles / ridley.rb
index efcdd4c7dae67bd72b183e9358a6babadb07ad12..62228f5bc399e57ea14f682979e175a9a78de58f 100644 (file)
@@ -2,46 +2,20 @@ name "ridley"
 description "Master role applied to ridley"
 
 default_attributes(
-  :apache => {
-    :ssl => {
-      :certificate => "osmfoundation",
-      :certificate_chain => "startcom"
-    }
-  },
   :dhcpd => {
     :first_address => "10.0.15.1",
     :last_address => "10.0.15.254"
   },
-  :exim => {
-    :aliases => {
-      :root => "grant"
-    }
-  },
-  :munin => {
-    :graphs => {
-      :apcpdu_ucl => {
-        :title => "Current for UCL",
-        :vlabel => "Amps",
-        :category => "Ups",
-        :values => {
-          :load => {
-            :sum => ["apcpdu_apc1.load", "apcpdu_apc2.load", "apcpdu_apc3.load"],
-            :label => "Load"
-          }
-        }
-      }
-    }
-  },
   :networking => {
     :interfaces => {
       :external_ipv4 => {
-        :interface => "eth0",
+        :interface => "eth0.2800",
         :role => :external,
         :family => :inet,
-        :address => "128.40.45.205"
+        :address => "193.60.236.19"
       },
       :internal_ipv4 => {
-        :interface => "eth1",
+        :interface => "eth0.2801",
         :role => :internal,
         :family => :inet,
         :address => "10.0.0.3"
@@ -67,9 +41,17 @@ default_attributes(
           :port => "1194"
         }
       },
-      :firefishy => {
+      :ucl2bm => {
         :port => "1196",
         :mode => "client",
+        :peer => {
+          :host => "grisu.openstreetmap.org",
+          :port => "1196"
+        }
+      },
+      :firefishy => {
+        :port => "1197",
+        :mode => "client",
         :peer => {
           :host => "home.firefishy.com",
           :port => "1194",
@@ -81,15 +63,16 @@ default_attributes(
 )
 
 run_list(
-  "role[ucl-wolfson]",
-  "role[hp-g6]",
+  "role[ucl]",
+  "role[hp-dl360-g6]",
   "role[gateway]",
   "role[foundation]",
   "role[stateofthemap]",
   "role[switch2osm]",
   "role[blog]",
   "role[otrs]",
-  "role[thinkup]",
+  "role[donate]",
+  "recipe[hot]",
   "recipe[dhcpd]",
   "recipe[openvpn]"
 )