mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
puppet: Move the wal-e dependencies to the internal postgres config.
(imported from commit 67251263ec98e5b141f4c7587042b4db7aed36f2)
This commit is contained in:
@@ -8,10 +8,6 @@ class zulip::postgres_common {
|
|||||||
"python-gevent",
|
"python-gevent",
|
||||||
"python-tz",
|
"python-tz",
|
||||||
"python-dateutil",
|
"python-dateutil",
|
||||||
# dependencies for our wal-e backup system
|
|
||||||
"python-boto",
|
|
||||||
"lzop",
|
|
||||||
"pv",
|
|
||||||
# our dictionary
|
# our dictionary
|
||||||
"hunspell-en-us",
|
"hunspell-en-us",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
class zulip_internal::postgres_common {
|
class zulip_internal::postgres_common {
|
||||||
include zulip::postgres_common
|
include zulip::postgres_common
|
||||||
|
|
||||||
|
$internal_postgres_packages = [# dependencies for our wal-e backup system
|
||||||
|
"python-boto",
|
||||||
|
"lzop",
|
||||||
|
"pv",
|
||||||
|
]
|
||||||
|
package { $internal_postgres_packages: ensure => "installed" }
|
||||||
|
|
||||||
exec {"pip_wal-e":
|
exec {"pip_wal-e":
|
||||||
command => "/usr/bin/pip install git+git://github.com/zbenjamin/wal-e.git#egg=wal-e",
|
command => "/usr/bin/pip install git+git://github.com/zbenjamin/wal-e.git#egg=wal-e",
|
||||||
creates => "/usr/local/bin/wal-e",
|
creates => "/usr/local/bin/wal-e",
|
||||||
|
|||||||
Reference in New Issue
Block a user