puppet: Add Debian 9 package names to definitions.

This doesn't add support for Debian 9, but it will save time for folks
working on Stretch support in the future.
This commit is contained in:
Ghislain Antony Vaillant 2018-03-28 19:13:29 +01:00 committed by Tim Abbott
parent 6e89b60e44
commit 00dd86967b
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ class zulip::base {
# Debian releases
/7.[0-9]*/ => 'wheezy',
/8.[0-9]*/ => 'jessie',
/9.[0-9]*/ => 'stretch',
# Ubuntu releases
'12.04' => 'precise',
'14.04' => 'trusty',
@ -30,6 +31,7 @@ class zulip::base {
$postgres_version = $release_name ? {
'wheezy' => '9.1',
'jessie' => '9.4',
'stretch' => '9.6',
'precise' => '9.1',
'trusty' => '9.3',
'vivid' => '9.4',

View File

@ -3,6 +3,8 @@ class zulip::static_asset_compiler {
$closure_compiler_package = "libclosure-compiler-java"
} elsif $zulip::base::release_name == "xenial" {
$closure_compiler_package = "closure-compiler"
} elsif $zulip::base::release_name == "stretch" {
$closure_compiler_package = "closure-compiler"
}
$static_asset_compiler_packages = [
# Needed for minify-js