}
}
private void waitForAmbariToStart(Stack stack) {
ambariHealthChecker.pollWithTimeout(
new AmbariHealthCheckerTask(),
new AmbariClient(stack.getAmbariIp()),
AmbariClusterConnector.POLLING_INTERVAL,
AmbariClusterConnector.MAX_ATTEMPTS_FOR_HOSTS);
}