Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Remove typo'd cron job.

Alex Vandiver814841c9ecde
diff --git a/puppet/zulip/manifests/app_frontend_base.pp b/puppet/zulip/manifests/app_frontend_base.pp
index 92a220edbc2..2e71a2f7ebb 100644
--- a/puppet/zulip/manifests/app_frontend_base.pp
+++ b/puppet/zulip/manifests/app_frontend_base.pp
@@ -220,4 +220,8 @@ class zulip::app_frontend_base {
mode => '0644',
source => 'puppet:///modules/zulip/cron.d/fetch-tor-exit-nodes',
}
+ # This was originally added with a typo in the name.
+ file { '/etc/cron.d/fetch-for-exit-nodes':
+ ensure => absent,
+ }
}
diff --git a/zerver/decorator.py b/zerver/decorator.py
index a34cc2e6bd1..bbe949ffbeb 100644
--- a/zerver/decorator.py
+++ b/zerver/decorator.py
@@ -888,7 +888,7 @@ def get_tor_ips() -> Set[str]:
if not settings.RATE_LIMIT_TOR_TOGETHER:
return set()
- # Cron job in /etc/cron.d/fetch-for-exit-nodes fetches this
+ # Cron job in /etc/cron.d/fetch-tor-exit-nodes fetches this
# hourly; we cache it in memcached to prevent going to disk on
# every unauth'd request. In case of failures to read, we
# circuit-break so 2 failures cause a 10-minute backoff.