Remove remaining parameter for Dynamic Kernel Module Support

... because it was deprecated during Yoga cycle[1] and has had no
effect since then.

[1] 3ff72b5736

Change-Id: I7a24045ee414a0ae81aa7093621ce07d791e5e31
This commit is contained in:
Takashi Kajinami 2022-04-19 10:13:07 +09:00
parent 60caea755b
commit 55af0b29fb
2 changed files with 4 additions and 17 deletions

View File

@ -30,34 +30,17 @@
# NOTE: that the configuration MUST NOT be already handled by this module
# or Puppet catalog compilation will fail with duplicate resources.
#
# DEPRECATED PARAMETERS
#
# [*dkms_ensure*]
# (optional) on debian/wheezy, ubuntu/precise, ubuntu/trusty and
# ubuntu/utopic dkms (Dynamic Kernel Module Support) is used to
# have a kernel module which matches the running kernel.
# In newer distributions (which ship with a newer kernel) dkms
# is not available anymore for openvswitch.
# For RedHat this parameter is ignored.
# If you like turn off dkms on Debian/Ubuntu set to false.
# defaults to undef.
#
class vswitch::ovs(
$package_ensure = 'present',
$enable_hw_offload = false,
$disable_emc = false,
$vlan_limit = undef,
$vs_config = {},
$dkms_ensure = undef,
) {
include vswitch::params
validate_legacy(Hash, 'validate_hash', $vs_config)
if $dkms_ensure {
warning('The dkms_ensure parameter is deprecated and has no effect')
}
if $enable_hw_offload {
vs_config { 'other_config:hw-offload':
value => true,

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The ``vswitch::ovs::dkms_ensure`` parameter has been removed.