mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* xfconf - using aggregated base class
* added changelog fragment
* fixed typo
(cherry picked from commit daabb53a2b
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
9b6e75f7f4
commit
6c53a09eef
2 changed files with 4 additions and 2 deletions
2
changelogs/fragments/3919-xfconf-baseclass.yaml
Normal file
2
changelogs/fragments/3919-xfconf-baseclass.yaml
Normal 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).
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue