Remove deprecated manage_whz
... because it was deprecated several cycles ago[1]. [1] 9b63dc312ee289681106573d542b7c3a1e4a0ead Change-Id: I60e37d1c555422c65760705377a7f9c469142e3f
This commit is contained in:
parent
7c456d4b69
commit
bfad5e4dff
@ -40,12 +40,6 @@
|
|||||||
# (optional) Debian package repository location.
|
# (optional) Debian package repository location.
|
||||||
# Defaults to "http://${::lsbdistcodename}-${release}.debian.net/debian"
|
# 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(
|
class openstack_extras::repo::debian::debian(
|
||||||
$release = $::openstack_extras::repo::debian::params::release,
|
$release = $::openstack_extras::repo::debian::params::release,
|
||||||
$manage_deb = true,
|
$manage_deb = true,
|
||||||
@ -55,16 +49,11 @@ class openstack_extras::repo::debian::debian(
|
|||||||
$source_hash = {},
|
$source_hash = {},
|
||||||
$source_defaults = {},
|
$source_defaults = {},
|
||||||
$deb_location = "http://${::lsbdistcodename}-${release}.debian.net/debian",
|
$deb_location = "http://${::lsbdistcodename}-${release}.debian.net/debian",
|
||||||
# DEPRECATED
|
|
||||||
$manage_whz = undef,
|
|
||||||
) inherits openstack_extras::repo::debian::params {
|
) inherits openstack_extras::repo::debian::params {
|
||||||
# handle deprecation
|
|
||||||
$deb_manage = pick($manage_whz, $manage_deb)
|
|
||||||
|
|
||||||
$lowercase_release = downcase($release)
|
$lowercase_release = downcase($release)
|
||||||
|
|
||||||
|
if $manage_deb {
|
||||||
if $deb_manage {
|
|
||||||
|
|
||||||
if $use_extrepo {
|
if $use_extrepo {
|
||||||
# Extrepo is much nicer than what's below, because
|
# Extrepo is much nicer than what's below, because
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``openstack_extras::repo::debian::debian::manage_whz`` parameter has
|
||||||
|
been removed.
|
Loading…
x
Reference in New Issue
Block a user