def __init__(self, cm_rep, lc_rep, num_threads):
     ParallelExecutor.__init__(self, "SELinux Validator", num_threads)
     self.cm_rep = cm_rep
     self.cm_rep['fqdn'] = socket.getfqdn()
     self.lc_rep = lc_rep
     self.node_reps = [cm_rep] + lc_rep
     self.create_pipeline()
 def __init__(self, cm_rep, lc_rep, key, num_threads):
     ParallelExecutor.__init__(self, "Passwordless SSH Validator",
                               num_threads)
     self.host = cm_rep['host']
     self.fqdn = cm_rep['fqdn']
     self.lc_rep = lc_rep
     self.key = key
     self.create_pipeline()
 def __init__(self, cm_rep, lc_rep, num_threads):
     ParallelExecutor.__init__(self, "DNS Config Validator", num_threads)
     self.cm_rep = cm_rep
     self.cm_rep['fqdn'] = socket.getfqdn()
     self.lc_rep = lc_rep
     self.node_rep = [cm_rep] + lc_rep
     self.node_permutation = itertools.permutations(self.node_rep, 2)
     self.create_pipeline()
Ejemplo n.º 4
0
 def __init__(self, cm_rep, lc_rep, num_threads):
     ParallelExecutor.__init__(self, "SIMPLE SSH Key Validator",
                               num_threads)
     self.cm_rep = cm_rep
     self.host = cm_rep['host']
     self.fqdn = cm_rep['fqdn']
     self.lc_rep = lc_rep
     self.num_threads = num_threads
     self.create_pipeline()
 def __init__(self, cm_rep, lc_rep, num_threads):
     ParallelExecutor.__init__(self, "Pre Deploy Parallelizer", num_threads)
     self.cm_rep = cm_rep
     self.lc_rep = lc_rep
     self.all_hosts = [cm_rep] + lc_rep
     self.host = cm_rep['host']
     self.fqdn = cm_rep['fqdn']
     self.num_threads = num_threads
     self.create_pipeline()
 def __init__(self, cm_rep, lc_rep, key, num_threads):
     ParallelExecutor.__init__(self, " Pre Install Parallelizer",
                               num_threads)
     self.cm_rep = cm_rep
     self.lc_rep = lc_rep
     self.host = cm_rep['host']
     self.fqdn = cm_rep['fqdn']
     self.key = key
     self.num_threads = num_threads
     self.create_pipeline()
 def __init__(self, cm_rep, lc_rep, main_lc, nodes, num_threads):
     ParallelExecutor.__init__(self, "Docker Swarm Validator", num_threads)
     self.cm_rep = cm_rep
     self.lc_rep = lc_rep
     self.all_hosts = [cm_rep] + lc_rep
     self.host = main_lc['host']
     self.fqdn = main_lc['fqdn']
     self.nodes = nodes
     self.num_threads = num_threads
     self.create_pipeline()
Ejemplo n.º 8
0
 def __init__(self, cm_rep, lc_rep, host_cert_dirs, hooks, num_threads):
     ParallelExecutor.__init__(self, "Install Parallelizer", num_threads)
     self.cm_rep = cm_rep
     self.lc_rep = lc_rep
     self.all_hosts = [cm_rep] + lc_rep
     self.host = cm_rep['host']
     self.fqdn = cm_rep['fqdn']
     self.host_cert_dirs = host_cert_dirs
     self.hooks = hooks
     self.num_threads = num_threads
     self.create_pipeline()
 def __init__(self, cm_rep, lc_rep, num_threads):
     ParallelExecutor.__init__(self, "Puppet and Puppet Module Validator",
                               num_threads)
     self.all_hosts = [cm_rep] + lc_rep
     self.num_threads = num_threads
     self.create_pipeline()
Ejemplo n.º 10
0
 def __init__(self, all_hosts, num_threads):
     ParallelExecutor.__init__(self,
                               "Git and Docker Installation Validator",
                               num_threads)
     self.nodes = all_hosts
     self.create_pipeline()
Ejemplo n.º 11
0
 def __init__(self, cm_rep, num_threads):
     ParallelExecutor.__init__(self, "Bolt Validator", num_threads)
     self.host = cm_rep['host']
     self.fqdn = cm_rep['fqdn']
     self.create_pipeline()
Ejemplo n.º 12
0
 def __init__(self, name, num_threads, cm_host_rep, lc_hosts_rep):
     ParallelExecutor.__init__(self, name, num_threads)
     self.append_to_pipeline(TestHorizontalExecutor(cm_host_rep))
     for lc in lc_hosts_rep:
         self.append_to_pipeline(TestHorizontalExecutor(lc))