provision: Fix missing dependency on unzip.

Because this is often installed by default, we hadn't noticed that our
Slack importer doesn't run without it.

Thanks to Ray Kraesig for the report.
This commit is contained in:
Tim Abbott
2019-08-08 10:22:25 -07:00
parent aa29ef0317
commit de0a41bc9c
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ class zulip::app_frontend_base {
$web_packages = [ $web_packages = [
# Needed to access our database # Needed to access our database
"postgresql-client-${zulip::base::postgres_version}", "postgresql-client-${zulip::base::postgres_version}",
# Needed for Slack import
'unzip',
] ]
zulip::safepackage { $web_packages: ensure => 'installed' } zulip::safepackage { $web_packages: ensure => 'installed' }

View File

@@ -147,6 +147,7 @@ COMMON_DEPENDENCIES = [
"gettext", # Used by makemessages i18n "gettext", # Used by makemessages i18n
"curl", # Used for fetching PhantomJS as wget occasionally fails on redirects "curl", # Used for fetching PhantomJS as wget occasionally fails on redirects
"moreutils", # Used for sponge command "moreutils", # Used for sponge command
"unzip", # Needed for Slack import
] ]
UBUNTU_COMMON_APT_DEPENDENCIES = COMMON_DEPENDENCIES + [ UBUNTU_COMMON_APT_DEPENDENCIES = COMMON_DEPENDENCIES + [