]> git.openstreetmap.org Git - chef.git/blobdiff - roles/fafnir.rb
Add db-slave role to fafnir
[chef.git] / roles / fafnir.rb
index 2345b25654d21b74908ea9b8e3040d4c4a6c9463..d8e6b5b5082aeb8d9afd756bc52a0b758c0ff417 100644 (file)
@@ -13,6 +13,11 @@ default_attributes(
         :family => :inet,
         :address => "172.31.10.210",
         :hwaddress => "02:c1:c5:8b:5f:1d"
         :family => :inet,
         :address => "172.31.10.210",
         :hwaddress => "02:c1:c5:8b:5f:1d"
+      },
+      :external_ipv4 => {
+        :role => :external,
+        :family => :inet,
+        :address => "52.50.86.69"
       }
     }
   },
       }
     }
   },
@@ -23,7 +28,8 @@ default_attributes(
         :port => "1194",
         :mode => "client",
         :peer => {
         :port => "1194",
         :mode => "client",
         :peer => {
-          :host => "ironbelly.openstreetmap.org"
+          :host => "ironbelly.openstreetmap.org",
+          :port => "1195"
         }
       }
     }
         }
       }
     }
@@ -51,5 +57,6 @@ default_attributes(
 
 run_list(
   "role[aws]",
 
 run_list(
   "role[aws]",
+  "role[db-slave]",
   "recipe[openvpn]"
 )
   "recipe[openvpn]"
 )