puppet: Remove unused $release_name.

It would confuse a future Debian 15.10 release with Ubuntu 15.10, it
relies on the legacy fact $::operatingsystemrelease, the modern fact
$::os provides this information without extra logic, and it’s unused
as of commit 03bffd3938.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-02-14 15:33:49 -08:00 committed by Alex Vandiver
parent 26f9f3cc4b
commit 45f4db9702
1 changed files with 0 additions and 17 deletions

View File

@ -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',