File tree Expand file tree Collapse file tree 4 files changed +10
-26
lines changed Expand file tree Collapse file tree 4 files changed +10
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
The arg spec for the {{ network_os }} facts module.
7
7
"""
8
8
9
- from {{ import_path }}. \
10
- network .argspec .base import ArgspecBase
11
-
12
- class FactsArgs (ArgspecBase ): #pylint: disable=R0903
9
+ class FactsArgs (object ): #pylint: disable=R0903
13
10
""" The arg spec for the {{ network_os }} facts module
14
11
"""
12
+
13
+ def __init__ (self , ** kwargs ):
14
+ pass
15
+
15
16
argument_spec = {
16
17
'gather_subset' : dict (default = ['all' ], type = 'list' )
17
18
}
Original file line number Diff line number Diff line change 26
26
The arg spec for the {{ network_os }}_{{ resource }} module
27
27
"""
28
28
29
- from {{ import_path }}. \
30
- network .argspec .base import ArgspecBase
31
-
32
- class {{ resource | capitalize }}Args (ArgspecBase ): #pylint: disable=R0903
29
+ class {{ resource | capitalize }}Args (object ): #pylint: disable=R0903
33
30
"""The arg spec for the {{ network_os }}_{{ resource }} module
34
31
"""
32
+
33
+ def __init__ (self , ** kwargs ):
34
+ pass
35
+
35
36
argument_spec = {{ rm | to_argspec }} #pylint: disable=C0301
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import_path: "{{ import_paths[structure] }}"
27
27
resource_module_directories :
28
28
- " {{ module_directory }}"
29
29
- module_utils
30
- - module_utils/network/argspec
31
30
- module_utils/{{ network_os }}
32
31
- module_utils/{{ network_os }}/argspec
33
32
- module_utils/{{ network_os }}/argspec/facts
@@ -37,8 +36,6 @@ resource_module_directories:
37
36
- module_utils/{{ network_os }}/facts
38
37
- module_utils/{{ network_os }}/facts/{{ resource }}
39
38
- module_utils/{{ network_os }}/utils
40
- - module_utils/network
41
- - module_utils/network/argspec
42
39
43
40
# each of the files to be templated
44
41
resource_module_templates :
@@ -75,6 +72,3 @@ resource_module_templates:
75
72
- source : module_utils/network_os/utils/utils.py.j2
76
73
destination : " {{ parent_directory}}/module_utils/{{ network_os }}/utils/utils.py"
77
74
overwrite : False
78
- - source : module_utils/network/argspec/base.py.j2
79
- destination : " {{ parent_directory}}/module_utils/network/argspec/base.py"
80
- overwrite : False
You can’t perform that action at this time.
0 commit comments