1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

xfconf - using aggregated base class (#3919)

* xfconf - using aggregated base class

* added changelog fragment

* fixed typo
This commit is contained in:
Alexei Znamensky 2021-12-20 02:17:17 +13:00 committed by GitHub
parent 8da2c630d8
commit daabb53a2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- xfconf - minor refactor on the base class for the module (https://github.com/ansible-collections/community.general/pull/3919).

View file

@ -128,7 +128,7 @@ RETURN = '''
'''
from ansible_collections.community.general.plugins.module_utils.module_helper import (
ModuleHelper, CmdMixin, StateMixin, ArgFormat, ModuleHelperException
CmdStateModuleHelper, ArgFormat, ModuleHelperException
)
@ -151,7 +151,7 @@ class XFConfException(Exception):
pass
class XFConfProperty(CmdMixin, StateMixin, ModuleHelper):
class XFConfProperty(CmdStateModuleHelper):
change_params = 'value',
diff_params = 'value',
output_params = ('property', 'channel', 'value')