Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Remove unused $release_name.

Anders Kaseorg45f4db970289
diff --git a/puppet/zulip/manifests/profile/base.pp b/puppet/zulip/manifests/profile/base.pp
index 37a2cb0f223..d5cc07edf3e 100644
--- a/puppet/zulip/manifests/profile/base.pp
+++ b/puppet/zulip/manifests/profile/base.pp
@@ -17,22 +17,6 @@ class zulip::profile::base {
}
case $::osfamily {
'debian': {
- $release_name = $::operatingsystemrelease ? {
- # Debian releases
- /^7\.[0-9]*$/ => 'wheezy',
- /^8\.[0-9]*$/ => 'jessie',
- /^9\.[0-9]*$/ => 'stretch',
- /^10\.[0-9]*$/ => 'buster',
- /^11\.[0-9]*$/ => 'bullseye',
- # Ubuntu releases
- '12.04' => 'precise',
- '14.04' => 'trusty',
- '15.04' => 'vivid',
- '15.10' => 'wily',
- '16.04' => 'xenial',
- '18.04' => 'bionic',
- '20.04' => 'focal',
- }
$base_packages = [
# Basics
'python3',
@@ -57,7 +41,6 @@ class zulip::profile::base {
]
}
'redhat': {
- $release_name = "${::operatingsystem}${::operatingsystemmajrelease}"
$base_packages = [
'python3',
'python3-pyyaml',