Skip to content

Commit

Permalink
puppet: Remove loadbalancer configurations when they are unset.
Browse files Browse the repository at this point in the history
(cherry picked from commit 671b708)
  • Loading branch information
alexmv committed Jul 3, 2023
1 parent 217f573 commit 8f98071
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions puppet/zulip/manifests/app_frontend_base.pp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@
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':
Expand Down

0 comments on commit 8f98071

Please sign in to comment.