Puppet Plan: complyadm::install::wait_for_services
- Defined in:
- plans/install/wait_for_services.pp
Overview
Waits until we get a 200 healthy status response back from the Comply api endpoint.
9 10 11 12 13 14 15 16 17 |
# File 'plans/install/wait_for_services.pp', line 9
plan complyadm::install::wait_for_services(
Complyadm::Config $config = complyadm::config()
) {
$url = $config['resolvable_hostname']
$is_healthy = complyadm::status_check($url)
if !$is_healthy {
fail_plan('UI did not come up within expected time frame', 'comply/error')
}
}
|