]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
Move network gateway role from horntail to ironbelly
[chef.git] / roles / ironbelly.rb
index 252848d30561618bce30dbb92122275bc8166313..a3a94fc636041ab2c817341e05787f36f6cc2215 100644 (file)
@@ -23,9 +23,23 @@ default_attributes(
         :address => "2001:630:12:500:225:90ff:fec4:f6ef"
       }
     }
+  },
+  :openvpn => {
+    :address => "10.0.16.2",
+    :tunnels => {
+      :ic2ucl => {
+        :port => "1194",
+        :mode => "server",
+        :peer => {
+          :host => "ridley.openstreetmap.org"
+        }
+      }
+    }
   }
 );
 
 run_list(
-  "role[ic]"
+  "role[ic]",
+  "role[gateway]",
+  "recipe[openvpn]"
 )