Remove deprecated parameter
This change removes deprecated parameter 'InotifyIntancesMax'. Change-Id: Ib01ab12401a71ae3e52ff7ae5511694613340842
This commit is contained in:
parent
560619f941
commit
e2b9b630d5
@ -121,22 +121,8 @@ parameters:
|
|||||||
tags:
|
tags:
|
||||||
- role_specific
|
- role_specific
|
||||||
|
|
||||||
# DEPRECATED: the following options are deprecated and are currently maintained
|
|
||||||
# for backwards compatibility. They will be removed in future release.
|
|
||||||
InotifyIntancesMax:
|
|
||||||
default: 1024
|
|
||||||
description: Configures sysctl fs.inotify.max_user_instances key
|
|
||||||
type: number
|
|
||||||
parameter_groups:
|
|
||||||
- label: deprecated
|
|
||||||
description: Do not use deprecated params, they will be removed.
|
|
||||||
parameters:
|
|
||||||
- InotifyIntancesMax
|
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
ipv6_disabled: {equals: [{get_param: KernelDisableIPv6}, 1]}
|
ipv6_disabled: {equals: [{get_param: KernelDisableIPv6}, 1]}
|
||||||
# TODO: remove when misseplt/deprecated parameter InotifyIntancesMax is removed.
|
|
||||||
is_inotify_intances_max_default: {equals: [{get_param: InotifyIntancesMax}, 1024]}
|
|
||||||
fs_aio_max_number_set:
|
fs_aio_max_number_set:
|
||||||
and:
|
and:
|
||||||
- not: {equals: [{get_param: [RoleParameters, FsAioMaxNumber]}, 0]}
|
- not: {equals: [{get_param: [RoleParameters, FsAioMaxNumber]}, 0]}
|
||||||
@ -212,11 +198,7 @@ outputs:
|
|||||||
net.bridge.bridge-nf-call-ip6tables:
|
net.bridge.bridge-nf-call-ip6tables:
|
||||||
value: {get_param: BridgeNfCallIp6Tables}
|
value: {get_param: BridgeNfCallIp6Tables}
|
||||||
fs.inotify.max_user_instances:
|
fs.inotify.max_user_instances:
|
||||||
value:
|
value: {get_param: InotifyInstancesMax}
|
||||||
if:
|
|
||||||
- is_inotify_intances_max_default
|
|
||||||
- {get_param: InotifyInstancesMax}
|
|
||||||
- {get_param: InotifyIntancesMax}
|
|
||||||
- if:
|
- if:
|
||||||
- fs_aio_max_number_set
|
- fs_aio_max_number_set
|
||||||
- fs.aio-max-nr:
|
- fs.aio-max-nr:
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``InotifyIntancesMax`` parameter has been removed.
|
||||||
|
The ``InotifyInstancesMax`` parameter should be used instead.
|
Loading…
Reference in New Issue
Block a user