mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Disabled on webservers in 047817b6b0, it has since lingered in
configuration, as well as running (to no effect) every minute on the
loadbalancer.
Remove the vestiges of its configuration.
28 lines
715 B
Puppet
28 lines
715 B
Puppet
class zulip_ops::loadbalancer {
|
|
include zulip_ops::base
|
|
include zulip::nginx
|
|
include zulip::camo
|
|
|
|
file { '/etc/nginx/sites-available/loadbalancer':
|
|
ensure => file,
|
|
require => Package['nginx-full'],
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0644',
|
|
source => 'puppet:///modules/zulip_ops/nginx/sites-available/loadbalancer',
|
|
notify => Service['nginx'],
|
|
}
|
|
|
|
file { '/etc/nginx/sites-enabled/loadbalancer':
|
|
ensure => 'link',
|
|
require => Package['nginx-full'],
|
|
target => '/etc/nginx/sites-available/loadbalancer',
|
|
notify => Service['nginx'],
|
|
}
|
|
|
|
# Can be removed if you see it deployed:
|
|
file { '/etc/cron.d/log2zulip':
|
|
ensure => absent,
|
|
}
|
|
}
|