]> git.openstreetmap.org Git - chef.git/blobdiff - roles/gateway.rb
Replace OpenVPN with wireguard for VPN tunnels
[chef.git] / roles / gateway.rb
index 653d686f387802331bb09c2d082517cce9fd1b7d..80ae347a5c414f585e8ca8f643952d774b62e80e 100644 (file)
@@ -2,6 +2,9 @@ name "gateway"
 description "Role applied to all network gateways"
 
 default_attributes(
+  :networking => {
+    :wireguard => { :enabled => true }
+  },
   :sysctl => {
     :network_forwarding => {
       :comment => "Enable forwarding",
@@ -9,7 +12,7 @@ default_attributes(
     }
   },
   :exim => {
-    :relay_from_hosts => [ "10.0.0.0/8"]
+    :relay_from_hosts => ["10.0.0.0/8"]
   }
 )