Sahil Dua
058587da77
Remove extra new lines at the ends of Zulip authoried files.
...
Fixes #1627 .
[tweaked by tabbott to avoid patching third-party modules, for now]
2016-09-26 21:05:24 -07:00
Tim Abbott
2be597dd09
puppet: Move support for accepting a loadbalancer to zulip manifests.
...
Previously, we didn't have an easy process for how one should do this.
Now, it's an (undocumented) zulip.conf setting!
2016-08-22 17:19:03 -07:00
Tim Abbott
3edf880c9b
Remove moreutils from zulip_internal::base.
...
We recently added this to zulip::base, so it would be a duplicate.
2016-08-11 18:12:59 -07:00
Tim Abbott
6158acb41b
nagios: Fix path to check_debian_packages.
2016-07-31 14:25:07 -07:00
Tim Abbott
8b285ec0ff
puppet: Read camo key from zulip-secrets.conf.
2016-07-31 00:23:24 -07:00
Tim Abbott
16a4ce1bd2
puppet: Fix Nagios check_disk flagging special filesystems.
2016-07-30 23:57:31 -07:00
Tim Abbott
c764b46cef
puppet: Fix missing base include in nagios manifest.
2016-07-30 23:48:41 -07:00
Tim Abbott
bc9bdd53aa
puppet: Use hostgroup for postgres_other monitoring.
2016-07-30 23:46:05 -07:00
Tim Abbott
6b34bee806
puppet: Remove unused ancient humbug-default apache site.
2016-07-30 23:43:55 -07:00
Eklavya Sharma
3d87c376c2
Make zulip-ec2-configure-interfaces pass mypy check.
2016-07-24 12:52:58 +05:30
Tim Abbott
2a209e46dd
puppet: Fix remaining hardcoding of postgres 9.1 in manifests.
2016-07-20 21:11:22 -07:00
Tim Abbott
bdb1ce04a2
puppet: Move pg_backup_and_purge to main config.
2016-07-19 19:19:42 -07:00
Tim Abbott
3023745ed7
puppet: Move env-wal-e to Zulip main distribution.
...
This doesn't yet include the dependencies for env-wal-e.
2016-07-19 19:19:42 -07:00
Tim Abbott
d0dcc8bf26
puppet: Create static_asset_compiler manifest.
2016-07-19 16:38:09 -07:00
Tim Abbott
601ab24d2a
zulip_internal::app_frontend: Remove now-unnecessary dependencies.
...
These Python packages are no longer relevant, since we install all of
our Python dependencies via virtualenvs.
2016-07-19 16:37:50 -07:00
Eklavya Sharma
a9835c0ab2
Activate virtualenv in production Python code.
...
The manage.py change effectively switches the Zulip production server
to use the virtualenv, since all of our supervisord commands for the
various Python services go through manage.py.
Additionally, this migrates the production scripts and Nagios plugins
to use the virtualenv as well.
2016-06-27 19:55:35 -07:00
Eklavya Sharma
94e4b39112
Replace python2.7 by python everywhere.
2016-05-29 05:03:08 -07:00
Eklavya Sharma
149938d468
Change shebangs from python2.7 to python.
2016-05-29 05:03:08 -07:00
Eklavya Sharma
3441f0848c
Annotate pg_backup_and_purge.py.
2016-05-18 17:10:17 +05:30
Tim Abbott
a7f83c9e05
Fix check_postgres_replication_lag nagios command.
2016-04-06 15:30:51 -07:00
Tim Abbott
991341867c
nagios: Remove unnecessary dependency on netcat.
2016-04-06 15:30:40 -07:00
Tim Abbott
c92221dcd3
Remove old humbughq apache configuration.
2016-04-06 15:30:36 -07:00
Tim Abbott
4855296771
puppet: Migrate check_postgres plugins to postgres_common.pp.
2016-04-06 15:20:36 -07:00
Tim Abbott
69a8925076
check_user_zephyr_mirror_liveness: Fix importing settings.
2016-04-05 13:27:04 -07:00
Tim Abbott
55172e2e0c
Remove old zulip_internal nagios_plugins installation.
2016-04-05 13:27:04 -07:00
Tim Abbott
934e8641ee
Migrate Zephyr mirror Nagios plugins to subdirectory.
2016-04-05 13:27:04 -07:00
Tim Abbott
7b753e5882
Migrate check_debian_packages to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
2da9fc56d6
Migrate check_pg_replication_lag to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
c2e210ca0d
Migrate check_website_response.sh to new zulip::nagios.pp.
2016-04-05 13:27:04 -07:00
Tim Abbott
eb72cecd9e
Migrate check_fts_update_log to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
92d696d007
Migrate check_postgres plugins to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
e155ecdc49
Migrate check_rabbitmq plugins to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
3ed7d658f8
Migrate check_send_receive_time to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
ca45ec3f3f
Migrate check_email_deliverer plugins to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
4e10424512
Migrate check_worker_memory to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
59b46278be
Move check_queue_worker_errors into subdirectory.
...
This fixes an issue where this worker wasn't even being installed
properly in a way that sets us up for doing further reorganization of
the Zulip Nagios plugins.
2016-04-05 13:27:04 -07:00
Tim Abbott
6f20c43097
Move dependency on nagios_plugins into base.pp.
2016-04-05 13:27:04 -07:00
Ryan Moore
2fe0700f55
Update memcache -> remote cache in inline documentation.
2016-03-31 12:56:42 -07:00
Tim Abbott
2adf6d822f
puppet: Fix process_queue command lines to use the new argument style.
...
cd2348e9ae
broke installing Zulip in
production since it didn't correctly update the puppet configuration
to call the process_queue script using the new argument format.
This commit isn't ideal in that I'd prefer to not require updating
puppet in sync with the actual running code, but we don't have a great
mechanism for doing that.
Fixes #586 .
2016-03-27 23:17:16 -07:00
Zev Benjamin
965f923ac3
Remove postgres2 configuration
2016-03-23 20:41:42 -07:00
Zev Benjamin
ae2560a027
Add postgres3 configuration
2016-03-23 20:41:25 -07:00
Tim Abbott
6137ae9902
Fix incorrect shell quoting in check_worker_memory.
2016-03-23 20:40:06 -07:00
Tim Abbott
210c2897e7
Fix check_worker_memory regular expression.
2016-03-23 20:40:02 -07:00
Josh Mandel
b06739df11
Move email digest triggering to default zulip config.
...
Previously, even though the Zulip digest emails were documented in the
settings, the cron job to run the script that actually sends the daily
digest emails wasn't included in the non-zulip.com part of the Zulip
production distribution. The overall consequence is that digest
emails didn't work for non-zulip.com users. This fixes that issue by
moving that cron job into the zulip manifests.
[commit message details expanded by tabbott]
2016-03-19 10:34:41 -07:00
Eklavya Sharma
37f9520666
Make the remaining ambiguous divisions python 3 compatible.
...
Refer to #256
2016-03-12 10:53:51 -08:00
Eklavya Sharma
b9e792c4e6
Apply Python 3 futurize transform libmodernize.fixes.fix_xrange_six
...
Refer to #256
2016-03-10 22:03:58 -08:00
Eklavya Sharma
d3b63f9a2d
Apply Python 3 futurize transform libmodernize.fixes.fix_file
...
Refer to #256
2016-03-10 22:02:34 -08:00
Eklavya Sharma
c59185e119
Apply Python 3 futurize transform libfuturize.fixes.fix_print_with_import
...
Refer #256
2016-03-10 22:02:17 -08:00
Eklavya Sharma
e2d5ec1868
Apply Python 3 futurize transform lib2to3.fixes.fix_ws_comma
2016-03-10 22:02:04 -08:00
Eklavya Sharma
4fb549abe8
Apply Python 3 futurize transform lib2to3.fixes.fix_idioms
...
Refer to #256
2016-03-10 22:02:01 -08:00