summaryrefslogtreecommitdiff
path: root/puppet/modules/site_stunnel
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_stunnel')
-rw-r--r--puppet/modules/site_stunnel/manifests/clients.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_stunnel/manifests/clients.pp b/puppet/modules/site_stunnel/manifests/clients.pp
index 9f8aeaff..b23c7bc6 100644
--- a/puppet/modules/site_stunnel/manifests/clients.pp
+++ b/puppet/modules/site_stunnel/manifests/clients.pp
@@ -1,5 +1,6 @@
define site_stunnel::clients (
$accept_port,
+ $connect_port,
$connect,
$client = true,
$cafile,
@@ -12,7 +13,7 @@ define site_stunnel::clients (
stunnel::service { $name:
accept => "127.0.0.1:${accept_port}",
- connect => "${connect}:6984",
+ connect => "${connect}:${connect_port}",
client => $client,
cafile => $cafile,
key => $key,