summaryrefslogtreecommitdiff
path: root/puppet/modules/site_stunnel
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2017-11-28 11:35:01 -0500
committerMicah Anderson <micah@riseup.net>2017-11-28 11:35:01 -0500
commit0d251e2ceddd3e02ed8bba8725830689dbdd1397 (patch)
tree37d7096d9e458ca1e6431dff8a2f571553011c44 /puppet/modules/site_stunnel
parent93a181d44e2d8163ae44945aac1b6477e268170d (diff)
parentbf6c56d86c7ba45e7ca766d990a9e9162025e5ac (diff)
Merge tag 'refs/tags/0.10.0' into stable
Release 0.10.0
Diffstat (limited to 'puppet/modules/site_stunnel')
-rw-r--r--puppet/modules/site_stunnel/manifests/init.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/puppet/modules/site_stunnel/manifests/init.pp b/puppet/modules/site_stunnel/manifests/init.pp
index a874721f..5f53d576 100644
--- a/puppet/modules/site_stunnel/manifests/init.pp
+++ b/puppet/modules/site_stunnel/manifests/init.pp
@@ -5,6 +5,15 @@
class site_stunnel {
+ # Install stunnel4 from jessie-backports because the
+ # jessie version randonly closes the connection prematurely
+ # see https://0xacab.org/leap/platform/issues/8746
+ apt::preferences_snippet { 'stunnel4':
+ package => 'stunnel4',
+ release => "${::lsbdistcodename}-backports",
+ priority => 999;
+ }
+
# include the generic stunnel module
# increase the number of open files to allow for 800 connections
class { 'stunnel': default_extra => 'ulimit -n 4096' }
@@ -45,4 +54,3 @@ class site_stunnel {
include site_stunnel::override_service
}
-