Suggest different variables to use if we want to tunnel both v4 and v6
authorPeter Palfrader <peter@palfrader.org>
Tue, 8 Oct 2019 06:01:53 +0000 (08:01 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 8 Oct 2019 06:01:53 +0000 (08:01 +0200)
modules/ipsec/manifests/network.pp

index 455f1ee..f925d0a 100644 (file)
@@ -10,8 +10,7 @@
 # given, which means that this default configuration only tunnels
 # IPv4, not IPv6.
 #
-# Use $peer_networks = [ "${::ipaddress}/32", "${::ipaddress6}/128" ]
-# to tunnel both addresses.
+# Use $peer_networks = $base::public_addresses to tunnel both addresses.
 #
 # @param peer_ipaddress     the ipsec endpoint address of this ipsec node
 # @param peer_networks      a list of networks behind or at this ipsec node