File tree Expand file tree Collapse file tree 1 file changed +18
-23
lines changed Expand file tree Collapse file tree 1 file changed +18
-23
lines changed Original file line number Diff line number Diff line change 1+ #!/usr/bin/python 
12# -*- coding: utf-8 -*- 
23
34# Copyright 2024 Cloudera, Inc. All Rights Reserved. 
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- 
4018DOCUMENTATION  =  r""" 
4119module: service 
4220short_description: Manage a service in cluster 
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
319314class  ClusterService (ClouderaManagerMutableModule ):
320315    def  __init__ (self , module ):
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments