diff options
author | varac <varacanero@zeromail.org> | 2013-03-20 19:06:07 +0100 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-04-02 10:21:05 -0400 |
commit | bb0f29e2d7ae2db57257eb4d1a20616c5c834a4e (patch) | |
tree | 3fb2c40788f43a84eaadd95faa8f69ccd0ec304c /puppet/modules/site_stunnel | |
parent | ec2727a1cae91c34233c831ae31277690a8ef3dc (diff) |
make site_stunnel::clients connect_port configurable
Diffstat (limited to 'puppet/modules/site_stunnel')
-rw-r--r-- | puppet/modules/site_stunnel/manifests/clients.pp | 3 |
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, |