in lib/muchos/config/azure.py [0:0]
def verify_config(self, action):
self._verify_config(action)
results = validate_azure_configs(self, action)
if len(results) > 0:
exit("ERROR - config failed validation {}".format(results))
proxy = self.get("general", "proxy_hostname")
cluster_type = self.get("general", "cluster_type")
if cluster_type not in ["azure"]:
if not proxy:
exit("ERROR - proxy.hostname must be set in muchos.props")
if proxy not in self.node_d:
exit(
"ERROR - The proxy (set by property proxy_hostname={0}) "
"cannot be found in 'nodes' section of "
"muchos.props".format(proxy)
)