Skip to content

Commit

Permalink
puppet: Remove loadbalancer configurations when they are unset.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmv committed Jun 28, 2023
1 parent 0d1c43d commit 6d969fb
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 6d969fb

Please sign in to comment.