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:
parent
8da2c630d8
commit
daabb53a2b
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 (
|
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
|
pass
|
||||||
|
|
||||||
|
|
||||||
class XFConfProperty(CmdMixin, StateMixin, ModuleHelper):
|
class XFConfProperty(CmdStateModuleHelper):
|
||||||
change_params = 'value',
|
change_params = 'value',
|
||||||
diff_params = 'value',
|
diff_params = 'value',
|
||||||
output_params = ('property', 'channel', 'value')
|
output_params = ('property', 'channel', 'value')
|
||||||
|
|
Loading…
Reference in a new issue