Exemplo n.º 1
0
 def masters(self):
     return config.get(self.cluster, constants.MASTER)
Exemplo n.º 2
0
 def get(self, role):
     try:
         return config.get(self.setup, role)
     except:
         return config.get(self.cluster, role)
Exemplo n.º 3
0
 def clusters(self):
     return config.get(self.setup, constants.CLUSTERS)
Exemplo n.º 4
0
 def vmcs(self):
     return config.get(self.cluster, constants.VMC)
Exemplo n.º 5
0
 def masters(self):
     return config.get(self.cluster, constants.MASTER)
Exemplo n.º 6
0
 def clusters(self):
     return config.get(self.setup, constants.CLUSTERS)
Exemplo n.º 7
0
 def get(self, role):
     try:
         return config.get(self.setup, role)
     except:
         return config.get(self.cluster, role)
Exemplo n.º 8
0
 def vmcs(self):
     return config.get(self.cluster, constants.VMC)