py3: Move `python-gevent` dependency to narrow its scope.

This is only actually used in our `wal-e` setup, which is in
zulip_ops::postgres_common.  (In fact the only mentions of `gevent` in
our whole Git history are for `wal-e`.)  So remove where we mention it
on the broader zulip::postgres_common module, and move it where it's
needed.

This follows up on 98cef0ab4 by eliminating the only dependency
outside of the `zulip_ops` Puppet tree on a system Python-library
package which isn't available in `trusty` for Python 3.
This commit is contained in:
Greg Price 2017-08-10 15:53:42 -07:00 committed by Tim Abbott
parent e469578a55
commit 0042fc0c19
2 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,6 @@ class zulip::postgres_common {
# tools for database monitoring
"ptop",
# Python modules used in our monitoring/worker threads
# "python3-gevent", # missing on trusty
"python-gevent",
"python3-tz", # TODO: use a virtualenv instead
"python-tz", # TODO: use a virtualenv instead
"python3-dateutil", # TODO: use a virtualenv instead

View File

@ -6,6 +6,8 @@ class zulip_ops::postgres_common {
"pv",
"python3-pip",
"python-pip",
# "python3-gevent", # missing on trusty
"python-gevent",
# Postgres Nagios check plugin
"check-postgres",
]