From fc266f8e18fbd34551a7ae06c53c3350f8027cea Mon Sep 17 00:00:00 2001
From: Matthew Treinish <mtreinish@kortar.org>
Date: Mon, 17 Nov 2014 09:48:55 -0500
Subject: [PATCH] Add subunit2sql workers

This commit adds the subunit2sql workers to site.pp

Change-Id: I0bf526611602c15b062ffca920a740dda7515200
---
 manifests/site.pp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/manifests/site.pp b/manifests/site.pp
index 9957885e10..0258f864e9 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -331,6 +331,14 @@ node /^logstash-worker\d+\.openstack\.org$/ {
   }
 }
 
+# Node-OS: trusty
+node /^subunit-worker\d+\.openstack\.org$/ {
+  class { 'openstack_project::subunit_worker':
+    sysadmins             => hiera('sysadmins', []),
+    subunit2sql_db_uri    => hiera('subunit2sql_db_uri', ''),
+  }
+}
+
 # Node-OS: precise
 node /^elasticsearch0[1-7]\.openstack\.org$/ {
   class { 'openstack_project::elasticsearch_node':