]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ridley.rb
Upgrade bytemark machines to chef 13
[chef.git] / roles / ridley.rb
index fef91998d0270171b975692462ffba958a9db019..f9ec9ebc782a42d42af0eab6403fc8ffdf4db4ea 100644 (file)
@@ -2,15 +2,10 @@ name "ridley"
 description "Master role applied to ridley"
 
 default_attributes(
-  :dhcpd =>{
+  :dhcpd => {
     :first_address => "10.0.15.1",
     :last_address => "10.0.15.254"
   },
-  :exim => {
-    :aliases => {
-      :root => "grant"
-    }
-  },
   :munin => {
     :graphs => {
       :apcpdu_ucl => {
@@ -19,7 +14,7 @@ default_attributes(
         :category => "Ups",
         :values => {
           :load => {
-            :sum => [ "apcpdu_apc1.load", "apcpdu_apc2.load", "apcpdu_apc3.load" ],
+            :sum => ["apcpdu_apc1.load", "apcpdu_apc2.load", "apcpdu_apc3.load"],
             :label => "Load"
           }
         }
@@ -29,17 +24,17 @@ default_attributes(
   :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"
-      },
+      }
     }
   },
   :openvpn => {
@@ -61,9 +56,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",
@@ -75,14 +78,15 @@ default_attributes(
 )
 
 run_list(
-  "role[ucl-wolfson]",
+  "role[ucl]",
+  "role[hp-dl360-g6]",
   "role[gateway]",
   "role[foundation]",
   "role[stateofthemap]",
   "role[switch2osm]",
   "role[blog]",
   "role[otrs]",
-  "role[thinkup]",
+  "role[donate]",
   "recipe[dhcpd]",
   "recipe[openvpn]"
 )