summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-23 07:34:04 +0000
committerGerrit Code Review <review@openstack.org>2018-07-23 07:34:04 +0000
commitdb7e1887c8376279795e7ca1d03967b1c2a5a2cc (patch)
treec376e598b0e027354b9356f3cd72609c75b4fdf5
parentb60e5b98939deba2abedae3cc4992b05f267f276 (diff)
parent74e6af7fd76ef3908c72d21c85783a3fc5be5906 (diff)
Merge "Fix template variables"HEADmaster
-rw-r--r--templates/dual-elasticsearch.vhost.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/dual-elasticsearch.vhost.erb b/templates/dual-elasticsearch.vhost.erb
index 3f4fc67..6f75740 100644
--- a/templates/dual-elasticsearch.vhost.erb
+++ b/templates/dual-elasticsearch.vhost.erb
@@ -3,7 +3,7 @@
3 ServerAdmin <%= @serveradmin %> 3 ServerAdmin <%= @serveradmin %>
4<% if @serveraliases.is_a? Array %> 4<% if @serveraliases.is_a? Array %>
5<% @serveraliases.each do |name| %><%= " ServerAlias #{name}\n" %><% end %> 5<% @serveraliases.each do |name| %><%= " ServerAlias #{name}\n" %><% end %>
6<% elsif @serveraliases != '' %> 6<% elsif ! ['', nil].include?(@serveraliases) %>
7<%= " ServerAlias #{@serveraliases}" %> 7<%= " ServerAlias #{@serveraliases}" %>
8<% end %> 8<% end %>
9 9