diff --git a/salt/states/win_servermanager.py b/salt/states/win_servermanager.py index 9b2d247ed9ed..6c8494ce4872 100644 --- a/salt/states/win_servermanager.py +++ b/salt/states/win_servermanager.py @@ -12,7 +12,6 @@ # Import salt modules import salt.utils.data -import salt.utils.versions def __virtual__(): @@ -58,7 +57,10 @@ def installed(name, recurse (Optional[bool]): Install all sub-features as well. If the feature is installed but one of its sub-features are not installed set this will install - additional sub-features + additional sub-features. This argument was previously renamed from + ``force``. To ensure backwards compatibility ``force`` will + continue to work but please update your states to use the preferred + ``recurse`` arg. source (Optional[str]): Path to the source files if missing from the target system. None @@ -114,12 +116,6 @@ def installed(name, - Web-Server ''' if 'force' in kwargs: - salt.utils.versions.warn_until( - 'Neon', - 'Parameter \'force\' has been detected in the argument list. This' - 'parameter is no longer used and has been replaced by \'recurse\'' - 'as of Salt 2018.3.0. This warning will be removed in Salt Neon.' - ) kwargs.pop('force') ret = {'name': name,