From: Peter Palfrader Date: Sun, 31 Jan 2016 21:56:49 +0000 (+0100) Subject: add template X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=fe3eea2f1bd55947a496dfa159667de3710e29fa;p=mirror%2Fdsa-puppet.git add template --- diff --git a/modules/roles/templates/syncproxy/rsyncd-syncproxy-stunnel.conf.erb b/modules/roles/templates/syncproxy/rsyncd-syncproxy-stunnel.conf.erb new file mode 100644 index 000000000..4f00885f4 --- /dev/null +++ b/modules/roles/templates/syncproxy/rsyncd-syncproxy-stunnel.conf.erb @@ -0,0 +1,11 @@ +cert = /etc/ssl/debian/certs/<%= syncproxy_name %>.crt-chained +key = /etc/ssl/private/<%= syncproxy_name %>.key + +debug = notice + +client = no +socket = a:SO_LINGER=1:60 +socket = a:SO_KEEPALIVE=1 + +exec = /usr/bin/rsync +execargs = rsync --daemon --config=/etc/rsyncd-syncproxy.conf