From 00dd86967b10e8a9e24609c5fb49a4872ae7379d Mon Sep 17 00:00:00 2001 From: Ghislain Antony Vaillant Date: Wed, 28 Mar 2018 19:13:29 +0100 Subject: [PATCH] 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. --- puppet/zulip/manifests/base.pp | 2 ++ puppet/zulip/manifests/static_asset_compiler.pp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/puppet/zulip/manifests/base.pp b/puppet/zulip/manifests/base.pp index 4695fb83a8..d09fff0e6c 100644 --- a/puppet/zulip/manifests/base.pp +++ b/puppet/zulip/manifests/base.pp @@ -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', diff --git a/puppet/zulip/manifests/static_asset_compiler.pp b/puppet/zulip/manifests/static_asset_compiler.pp index fc539d547a..5f9635ac5c 100644 --- a/puppet/zulip/manifests/static_asset_compiler.pp +++ b/puppet/zulip/manifests/static_asset_compiler.pp @@ -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