Remove deprecated manage_whz

... because it was deprecated several cycles ago[1].

[1] 9b63dc312e

Change-Id: I60e37d1c555422c65760705377a7f9c469142e3f
This commit is contained in:
Takashi Kajinami 2022-06-13 02:11:52 +09:00
parent 7c456d4b69
commit bfad5e4dff
2 changed files with 6 additions and 12 deletions

View File

@ -40,12 +40,6 @@
# (optional) Debian package repository location.
# Defaults to "http://${::lsbdistcodename}-${release}.debian.net/debian"
#
# === DEPRECATED
#
# [*manage_whz*]
# (optional) Whether or not to add the default Debian Stretch APT source
# Replaced by $manage_deb.
#
class openstack_extras::repo::debian::debian(
$release = $::openstack_extras::repo::debian::params::release,
$manage_deb = true,
@ -55,16 +49,11 @@ class openstack_extras::repo::debian::debian(
$source_hash = {},
$source_defaults = {},
$deb_location = "http://${::lsbdistcodename}-${release}.debian.net/debian",
# DEPRECATED
$manage_whz = undef,
) inherits openstack_extras::repo::debian::params {
# handle deprecation
$deb_manage = pick($manage_whz, $manage_deb)
$lowercase_release = downcase($release)
if $deb_manage {
if $manage_deb {
if $use_extrepo {
# Extrepo is much nicer than what's below, because

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The ``openstack_extras::repo::debian::debian::manage_whz`` parameter has
been removed.