mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-04 14:03:25 +00:00
The entrypoint.sh is now a fully functional setup and run script for zulip installations in docker.
18 lines
624 B
Puppet
18 lines
624 B
Puppet
class zulip::postgres_common {
|
|
$postgres_packages = [# The database itself
|
|
"postgresql-9.3",
|
|
# Python modules used in our monitoring/worker threads
|
|
"python-gevent",
|
|
"python-tz",
|
|
"python-dateutil",
|
|
# our dictionary
|
|
"hunspell-en-us",
|
|
]
|
|
define safepackage ( $ensure = present ) {
|
|
if !defined(Package[$title]) {
|
|
package { $title: ensure => $ensure }
|
|
}
|
|
}
|
|
safepackage { $postgres_packages: ensure => "installed" }
|
|
}
|