mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
puppet: Remove loadbalancer configurations when they are unset.
This commit is contained in:
committed by
Tim Abbott
parent
e7f4700d76
commit
671b708c4b
@@ -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':
|
||||
|
Reference in New Issue
Block a user