]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ridley.rb
Update internal interface names for UCL machines
[chef.git] / roles / ridley.rb
index 47e12e7d0012c80b736fe3a8be71b626abfab603..999482f8e0100c58f15cd1d4ee71f76e261651f1 100644 (file)
@@ -2,6 +2,9 @@ name "ridley"
 description "Master role applied to ridley"
 
 default_attributes(
+  :ssl => {
+    :certificates => %w(osmfoundation openstreetmap)
+  },
   :apache => {
     :ssl => {
       :certificate => "osmfoundation",
@@ -12,11 +15,6 @@ default_attributes(
     :first_address => "10.0.15.1",
     :last_address => "10.0.15.254"
   },
-  :exim => {
-    :aliases => {
-      :root => "grant"
-    }
-  },
   :munin => {
     :graphs => {
       :apcpdu_ucl => {
@@ -35,13 +33,13 @@ 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",
         :role => :internal,
         :family => :inet,
         :address => "10.0.0.3"
@@ -67,9 +65,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,7 +87,7 @@ default_attributes(
 )
 
 run_list(
-  "role[ucl-wolfson]",
+  "role[ucl-slough]",
   "role[hp-dl360-g6]",
   "role[gateway]",
   "role[foundation]",
@@ -89,7 +95,7 @@ run_list(
   "role[switch2osm]",
   "role[blog]",
   "role[otrs]",
-  "role[thinkup]",
+  "role[donate]",
   "recipe[dhcpd]",
   "recipe[openvpn]"
 )