Skip to content

Commit 563f6f6

Browse files
committed
Update documentation
Signed-off-by: Webster Mudge <[email protected]>
1 parent 06363d3 commit 563f6f6

File tree

1 file changed

+18
-23
lines changed

1 file changed

+18
-23
lines changed

plugins/modules/service.py

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/python
12
# -*- coding: utf-8 -*-
23

34
# Copyright 2024 Cloudera, Inc. All Rights Reserved.
@@ -14,29 +15,6 @@
1415
# See the License for the specific language governing permissions and
1516
# limitations under the License.
1617

17-
from ansible_collections.cloudera.cluster.plugins.module_utils.cm_utils import (
18-
ClouderaManagerMutableModule,
19-
resolve_tag_updates,
20-
)
21-
from ansible_collections.cloudera.cluster.plugins.module_utils.service_utils import (
22-
parse_service_result,
23-
)
24-
25-
from cm_client import (
26-
ApiEntityTag,
27-
ApiService,
28-
ApiServiceList,
29-
ClustersResourceApi,
30-
ServicesResourceApi,
31-
)
32-
from cm_client.rest import ApiException
33-
34-
ANSIBLE_METADATA = {
35-
"metadata_version": "1.1",
36-
"status": ["preview"],
37-
"supported_by": "community",
38-
}
39-
4018
DOCUMENTATION = r"""
4119
module: service
4220
short_description: Manage a service in cluster
@@ -315,6 +293,23 @@
315293
returned: when supported
316294
"""
317295

296+
from ansible_collections.cloudera.cluster.plugins.module_utils.cm_utils import (
297+
ClouderaManagerMutableModule,
298+
resolve_tag_updates,
299+
)
300+
from ansible_collections.cloudera.cluster.plugins.module_utils.service_utils import (
301+
parse_service_result,
302+
)
303+
304+
from cm_client import (
305+
ApiEntityTag,
306+
ApiService,
307+
ApiServiceList,
308+
ClustersResourceApi,
309+
ServicesResourceApi,
310+
)
311+
from cm_client.rest import ApiException
312+
318313

319314
class ClusterService(ClouderaManagerMutableModule):
320315
def __init__(self, module):

0 commit comments

Comments
 (0)