Remove usage of $::os_service_default

... because it was deprecated during Yoga cycle by [1].

[1] fb9a08d972

Change-Id: I16ed985cc1eee3c923bcd1e5ecdc2266658bed8c
This commit is contained in:
Takashi Kajinami 2022-07-13 22:57:43 +09:00
parent f68f987557
commit b70e038fe5
3 changed files with 11 additions and 22 deletions

View File

@ -145,17 +145,9 @@ class vswitch::dpdk (
} }
} }
if is_service_default($vlan_limit) { vs_config { 'other_config:vlan-limit':
warning('Usage of $::os_service_default for vlan_limit is deprecated. Use undef instead') value => $vlan_limit,
vs_config { 'other_config:vlan-limit': wait => true,
ensure => absent,
wait => true,
}
} else {
vs_config { 'other_config:vlan-limit':
value => $vlan_limit,
wait => true,
}
} }
if $enable_tso { if $enable_tso {

View File

@ -67,17 +67,9 @@ class vswitch::ovs(
} }
} }
if is_service_default($vlan_limit) { vs_config { 'other_config:vlan-limit':
warning('Usage of $::os_service_default for vlan_limit is deprecated. Use undef instead') value => $vlan_limit,
vs_config { 'other_config:vlan-limit': wait => true,
ensure => absent,
wait => true,
}
} else {
vs_config { 'other_config:vlan-limit':
value => $vlan_limit,
wait => true,
}
} }
create_resources('vs_config', $vs_config) create_resources('vs_config', $vs_config)

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The following parameters no longer accepts ``$::os_service_default`` as
the special value to use default. Use ``undef`` instead.