Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Remove loadbalancer configurations when they are unset.
Alex Vandiver671b708c4bf8
diff --git a/puppet/zulip/manifests/app_frontend_base.pp b/puppet/zulip/manifests/app_frontend_base.ppindex 2a9b3a82fbd..0927f1b194c 100644--- a/puppet/zulip/manifests/app_frontend_base.pp+++ b/puppet/zulip/manifests/app_frontend_base.pp@@ -59,6 +59,12 @@ class zulip::app_frontend_base {source => 'puppet:///modules/zulip/nginx/zulip-include-app.d/keepalive-loadbalancer.conf',notify => Service['nginx'],}+ } else {+ file { ['/etc/nginx/zulip-include/app.d/accept-loadbalancer.conf',+ '/etc/nginx/zulip-include/app.d/keepalive-loadbalancer.conf']:+ ensure => absent,+ notify => Service['nginx'],+ }}file { '/etc/nginx/zulip-include/upstreams':