Stunnel config is not deployed
Azul and me had a weird cornercase, probably triggered by turning off the machine during a deploy.
Any subsequent deploy doesn't deploy any config to /etc/stunnel/, which is left empty (besides the readme). The problem is:
- stunnel::service deploys a file in /var/lib/puppet/stunnel4/config
- only if this file changes, /var/lib/puppet/stunnel4/config/bin/refresh_stunnel is run, which copies the config files to the /etc/stunnel dir
so when a deploy is aborted between these steps, bin/refresh_stunnel is not called anymore.
A workaround is to remove the /var/lib/puppet/stunnel4/config dir and deploy again, but it took me some time to figure it out.
(from redmine: created on 2015-12-30)