puppet: Drop all log2zulip configuration.

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.
This commit is contained in:
Alex Vandiver
2020-10-12 17:23:16 -07:00
committed by Tim Abbott
parent b431b1b021
commit c8df9a150e
5 changed files with 2 additions and 45 deletions

View File

@@ -1,3 +0,0 @@
MAILTO=root
* * * * * zulip cd /home/zulip/deployments/current && python3 ./zulip-current-venv/share/zulip/integrations/log2zulip/log2zulip

View File

@@ -1 +0,0 @@
["/var/log/nginx/error.log"]

View File

@@ -1,4 +0,0 @@
[api]
email = log-bot@zulip.com
key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
site = https://zulip.com

View File

@@ -18,22 +18,6 @@ class zulip_ops::app_frontend {
source => 'puppet:///modules/zulip/logrotate/zulip',
}
file { '/etc/log2zulip.conf':
ensure => file,
owner => 'zulip',
group => 'zulip',
mode => '0644',
source => 'puppet:///modules/zulip_ops/log2zulip.conf',
}
file { '/etc/log2zulip.zuliprc':
ensure => file,
owner => 'zulip',
group => 'zulip',
mode => '0600',
source => 'puppet:///modules/zulip_ops/log2zulip.zuliprc',
}
file { '/etc/supervisor/conf.d/redis_tunnel.conf':
ensure => file,
require => Package['supervisor', 'autossh'],

View File

@@ -20,27 +20,8 @@ class zulip_ops::loadbalancer {
notify => Service['nginx'],
}
file { '/etc/log2zulip.conf':
ensure => file,
owner => 'zulip',
group => 'zulip',
mode => '0644',
source => 'puppet:///modules/zulip_ops/log2zulip.conf',
}
# Can be removed if you see it deployed:
file { '/etc/cron.d/log2zulip':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
source => 'puppet:///modules/zulip_ops/cron.d/log2zulip',
}
file { '/etc/log2zulip.zuliprc':
ensure => file,
owner => 'zulip',
group => 'zulip',
mode => '0600',
source => 'puppet:///modules/zulip_ops/log2zulip.zuliprc',
ensure => absent,
}
}