From 359264f3178794b01f56351b79183fe805344ad8 Mon Sep 17 00:00:00 2001
From: Matthew Treinish
Date: Fri, 16 Oct 2015 19:15:11 -0400
Subject: [PATCH] Add openstack-health frontend to status.o.o
This commit adds the openstack-health frontend to status.o.o. It'll
CD the js from the openstack-health repo on each commit.
Depends-On: Ic47fbd817a293a257f7a9b164682fc96cce5321e
Change-Id: I079767e48c43fe190e683219b1fffee93afcce42
---
modules/openstack_project/files/status/index.html | 7 ++++++-
modules/openstack_project/manifests/status.pp | 10 ++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/modules/openstack_project/files/status/index.html b/modules/openstack_project/files/status/index.html
index 347a87159e..e1dd15b890 100644
--- a/modules/openstack_project/files/status/index.html
+++ b/modules/openstack_project/files/status/index.html
@@ -93,7 +93,12 @@
stats.
-
+
+
+
+ A test results dashboard.
+
+
diff --git a/modules/openstack_project/manifests/status.pp b/modules/openstack_project/manifests/status.pp
index 74c24c2fcb..873e1def13 100644
--- a/modules/openstack_project/manifests/status.pp
+++ b/modules/openstack_project/manifests/status.pp
@@ -16,6 +16,7 @@ class openstack_project::status (
$graphite_render_url = 'http://graphite.openstack.org/render/',
$jenkins_gitfullname = 'OpenStack Jenkins',
$jenkins_gitemail = 'jenkins@openstack.org',
+ $openstack_health_api_endpoint = 'http://health.openstack.org',
) {
include openstack_project
@@ -254,4 +255,13 @@ class openstack_project::status (
httproot => '/srv/static/bugdaystats',
configfile => '/var/lib/bugdaystats/config.js',
}
+ ###########################################################
+ # Status - openstack-health
+
+ include 'openstack_health'
+
+ openstack_health::site { 'openstack-health':
+ httproot => '/srv/static/openstack-health',
+ api_endpoint => $openstack_health_api_endpoint
+ }
}