diff options
author | Micah <micah@leap.se> | 2016-06-07 15:26:01 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-06-07 15:28:06 -0400 |
commit | c0cbf928c057d299f533a2a8b61bb54cc6ba5974 (patch) | |
tree | 8f51a5abbd336cd873712d4b3b46440abd4e5e17 /puppet/modules/site_haproxy/templates | |
parent | 956ce031d4b87d58b8e8484d290990854a4add9f (diff) |
refresh_stunnel sometimes doesn't run (#8168).
It turns out that in some corner-cases, the script is not called:
(1) start the deploy, create files in /var/lib/puppet/stunnel4/config
(2) halt puppet before apply finishes
(3) re-run deploy
in this scenario, next time you run deploy, refresh_stunnel will never
get called to populate /etc/stunnel, because the files in
/var/lib/puppet/stunnel4/config haven't changed.
This problem can be really confusing when it happens.
To fix this, we just run refresh_stunnel every, it is pretty fast and
the script has more complete logic for what to do than puppet, which has
only an asymmetrical view on the situation.
Change-Id: I9e5fad1d081c2fe07f3ac8f07cfb87d86b88f7c9
Diffstat (limited to 'puppet/modules/site_haproxy/templates')
0 files changed, 0 insertions, 0 deletions