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:
parent
f68f987557
commit
b70e038fe5
@ -145,18 +145,10 @@ class vswitch::dpdk (
|
||||
}
|
||||
}
|
||||
|
||||
if is_service_default($vlan_limit) {
|
||||
warning('Usage of $::os_service_default for vlan_limit is deprecated. Use undef instead')
|
||||
vs_config { 'other_config:vlan-limit':
|
||||
ensure => absent,
|
||||
wait => true,
|
||||
}
|
||||
} else {
|
||||
vs_config { 'other_config:vlan-limit':
|
||||
value => $vlan_limit,
|
||||
wait => true,
|
||||
}
|
||||
}
|
||||
|
||||
if $enable_tso {
|
||||
vs_config { 'other_config:userspace-tso-enable':
|
||||
|
@ -67,18 +67,10 @@ class vswitch::ovs(
|
||||
}
|
||||
}
|
||||
|
||||
if is_service_default($vlan_limit) {
|
||||
warning('Usage of $::os_service_default for vlan_limit is deprecated. Use undef instead')
|
||||
vs_config { 'other_config:vlan-limit':
|
||||
ensure => absent,
|
||||
wait => true,
|
||||
}
|
||||
} else {
|
||||
vs_config { 'other_config:vlan-limit':
|
||||
value => $vlan_limit,
|
||||
wait => true,
|
||||
}
|
||||
}
|
||||
|
||||
create_resources('vs_config', $vs_config)
|
||||
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The following parameters no longer accepts ``$::os_service_default`` as
|
||||
the special value to use default. Use ``undef`` instead.
|
Loading…
Reference in New Issue
Block a user