Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Webster Mudge <[email protected]>
  • Loading branch information
wmudge committed Dec 16, 2024
1 parent 06363d3 commit 563f6f6
Showing 1 changed file with 18 additions and 23 deletions.
41 changes: 18 additions & 23 deletions plugins/modules/service.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

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

from ansible_collections.cloudera.cluster.plugins.module_utils.cm_utils import (
ClouderaManagerMutableModule,
resolve_tag_updates,
)
from ansible_collections.cloudera.cluster.plugins.module_utils.service_utils import (
parse_service_result,
)

from cm_client import (
ApiEntityTag,
ApiService,
ApiServiceList,
ClustersResourceApi,
ServicesResourceApi,
)
from cm_client.rest import ApiException

ANSIBLE_METADATA = {
"metadata_version": "1.1",
"status": ["preview"],
"supported_by": "community",
}

DOCUMENTATION = r"""
module: service
short_description: Manage a service in cluster
Expand Down Expand Up @@ -315,6 +293,23 @@
returned: when supported
"""

from ansible_collections.cloudera.cluster.plugins.module_utils.cm_utils import (
ClouderaManagerMutableModule,
resolve_tag_updates,
)
from ansible_collections.cloudera.cluster.plugins.module_utils.service_utils import (
parse_service_result,
)

from cm_client import (
ApiEntityTag,
ApiService,
ApiServiceList,
ClustersResourceApi,
ServicesResourceApi,
)
from cm_client.rest import ApiException


class ClusterService(ClouderaManagerMutableModule):
def __init__(self, module):
Expand Down

0 comments on commit 563f6f6

Please sign in to comment.