From 327f1690da66068041b03779363606d8dfcaf5d1 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 12 Jun 2014 16:21:56 -0700 Subject: [PATCH] Be specific about which ES nodes are puppetable Our Elasticsearch nodes need cinder volumes attached to them prior to being puppeted. Make the regex for the elasticsearch nodes in site.pp match only existing nodes so that new nodes can be created and have their volumes attached before proper puppeting. Change-Id: If12c67174315b8480998148e1325de59ecdba372 --- manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index 9e12497de8..33f45b1d08 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -298,7 +298,7 @@ node /^logstash-worker\d+\.openstack\.org$/ { } } -node /^elasticsearch\d+\.openstack\.org$/ { +node /^elasticsearch0[1-6]\.openstack\.org$/ { class { 'openstack_project::elasticsearch_node': sysadmins => hiera('sysadmins', ['admin']), elasticsearch_nodes => $elasticsearch_nodes,