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
This commit is contained in:
Clark Boylan 2014-06-12 16:21:56 -07:00
parent bef0b1e644
commit 327f1690da

View File

@ -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,