From 7e8e98dad2adde361c7ecc6e7b043429bed6d77a Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Thu, 1 Dec 2016 12:37:20 -0400 Subject: Fix metricsPublicURL only being set correctly on first master. Problem was caused by facts not being set for that master. To fix this patch cleans up the calculation of metricsPublicURL in general. Because this value is used in openshift_master to template into the master config file, we now define these facts more clearly in openshift_master_facts, and add a dependency on this to openshift_metrics. The calculation of default sub-domain is also changed to remove it from system facts (as neither of these are facts about the system) and instead use plain variables. --- roles/openshift_metrics/README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'roles/openshift_metrics/README.md') diff --git a/roles/openshift_metrics/README.md b/roles/openshift_metrics/README.md index f3c0f3474..015a673a8 100644 --- a/roles/openshift_metrics/README.md +++ b/roles/openshift_metrics/README.md @@ -27,17 +27,11 @@ From this role: | openshift_hosted_metrics_resolution | `10s` | Metrics resolution | -From openshift_common: - -| Name | Default Value | | -|---------------------------------------|----------------|----------------------------------------| -| openshift_master_default_subdomain | null | Subdomain FQDN (Mandatory) | - - Dependencies ------------ openshift_facts openshift_examples +openshift_master_facts Example Playbook ---------------- -- cgit v1.2.3