From 06e4d60b87f16e8252f0a2cb0d36e81d9ce926a7 Mon Sep 17 00:00:00 2001 From: Martin Schuette Date: Sun, 4 May 2014 23:42:13 +0200 Subject: [PATCH] bugfix: pass vpn parameters --- manifests/init.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index c2d0ce1..6707b09 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,4 +1,4 @@ -class ff_gw($ff_net, $ff_mesh_net, $ff_as, $mesh_mac, $gw_ipv4, $gw_ipv6, $secret_key, $dhcprange_start, $dhcprange_end, $gw_do_ic_peering = false) { +class ff_gw($ff_net, $ff_mesh_net, $ff_as, $mesh_mac, $gw_ipv4, $gw_ipv6, $secret_key, $vpn_ca_crt, $vpn_usr_crt, $vpn_usr_key, $dhcprange_start, $dhcprange_end, $gw_do_ic_peering = false) { class { 'ff_gw::apt': } -> class { 'ff_gw::software': } @@ -20,7 +20,11 @@ class ff_gw($ff_net, $ff_mesh_net, $ff_as, $mesh_mac, $gw_ipv4, $gw_ipv6, $secre own_ipv6 => $gw_ipv6, } -> - class { 'ff_gw::vpn': } + class { 'ff_gw::vpn': + usr_crt => $vpn_usr_crt, + usr_key => $vpn_usr_key, + ca_crt => $vpn_ca_crt, + } -> class { 'ff_gw::iptables': } ->