File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed 
roles/verify/parcels_and_roles/tasks Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 2222          | map('regex_replace','/.+','') 
2323          | difference(role_mappings[template.service] | list) 
2424          }} 
25+ 
2526name : Ensure the host template service roles are valid 
2627      assert :
2728        that : " {{ invalid_roles | length == 0 }}" 
3132fail_msg : >- 
3233          Unknown role(s) {{ invalid_roles }} for service '{{ template.service }}' 
3334          defined in host template '{{ host_template.name }}'. 
35+ 
36+ name : Ensure the Tez gateway has been deployed 
37+       assert :
38+         that : " {{ 'GATEWAY' in (host_template.mappings['TEZ'] | default({})) }}" 
39+         success_msg : The Tez gateway has been included as required 
40+         fail_msg : The Tez gateway should be colocated with Hive On Tez roles 
41+       when :
42+         - template.service == 'HIVE_ON_TEZ' 
43+         - " 'HIVESERVER2' in template.roles or 'GATEWAY' in template.roles" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments