repo: Remove stream parameter

The parameter was used during transition from CentOS 8 to CentOS 8
Stream, but CentOS 8 (Stream) support has been already removed.

Change-Id: I4e90d5f83c93896ee91a0fbf4810f0929e822b02
This commit is contained in:
Takashi Kajinami 2024-12-17 00:28:42 +09:00
parent 33f21f4416
commit d7049a291e
2 changed files with 4 additions and 11 deletions

View File

@ -56,11 +56,6 @@
# [*ceph_mirror*] Ceph mirror used to download packages.
# Optional. Defaults to undef.
#
# DEPRECATED PARAMETERS
#
# [*stream*] Whether this is CentOS Stream or not. This parameter is used in CentOS only.
# Optional. Defaults to undef
#
class ceph::repo (
$ensure = present,
String[1] $release = $ceph::params::release,
@ -70,14 +65,8 @@ class ceph::repo (
Boolean $enable_epel = true,
Boolean $enable_sig = $ceph::params::enable_sig,
$ceph_mirror = undef,
# DEPRECATED PARAMETERS
$stream = undef,
) inherits ceph::params {
if $stream != undef {
warning('The stream parameter has been deprecated and has no effect.')
}
case $facts['os']['family'] {
'Debian': {
include apt

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The ``ceph::repo::stream`` parameter has been removed.