Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

mrjoshuap/puppetlabs-stunnel

 
 

Repository files navigation

Summary

Provides a defined resource type for managing stunnel on AIX, Debian and Red Hat systems.

Usage

   stunnel::tun { 'rsyncd':
     certificate => "/etc/puppet/ssl/certs/${::clientcert}.pem",
     private_key => "/etc/puppet/ssl/private_keys/${::clientcert}.pem",
     ca_file     => '/etc/puppet/ssl/certs/ca.pem',
     crl_file    => '/etc/puppet/ssl/crl.pem',
     chroot      => '/var/lib/stunnel4/rsyncd',
     user        => 'pe-puppet',
     group       => 'pe-puppet',
     client      => false,
     accept      => '1873',
     connect     => '873',
   }

   stunnel::tun { 'ldap':
     ca_file     => '/etc/puppet/ssl/certs/ca.pem',
     crl_file    => '/etc/puppet/ssl/crl.pem',
     client      => true,
     accept      => 'localhost:1389',
     connect     => 'ldap.server.local:636',
   }

Notes

  • This includes an sysvinit script because the stunnel package on Red Hat systems does not provide one.
  • Use of SSLv2 is highly discouraged because it's known to be vulnerable.
  • AIX support does not include package installation

Authors

Packages

No packages published

Languages

  • Puppet 59.0%
  • HTML 22.9%
  • Shell 9.7%
  • Ruby 6.4%
  • Pascal 2.0%