From af67f59f100cad849db93959f0eac172bb45ed8a Mon Sep 17 00:00:00 2001 From: Ciaby Date: Mon, 16 Feb 2015 16:22:18 -0600 Subject: [PATCH] Better formatting for vars.sh --- .../rhizomatica_base_system/templates/vars.sh.erb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/rhizomatica_base_system/templates/vars.sh.erb b/modules/rhizomatica_base_system/templates/vars.sh.erb index 39dce7c..2f37bb8 100644 --- a/modules/rhizomatica_base_system/templates/vars.sh.erb +++ b/modules/rhizomatica_base_system/templates/vars.sh.erb @@ -8,8 +8,14 @@ function logc() { #BTSs IP addresses -<% if @bts1_ip_address %>BTS1=<%= @bts1_ip_address %><% end %> -<% if @bts2_ip_address %>BTS2=<%= @bts2_ip_address %><% end %> -<% if @bts3_ip_address %>BTS3=<%= @bts3_ip_address %><% end %> +<% if @bts1_ip_address -%> +BTS1=<%= @bts1_ip_address %> +<% end -%> +<% if @bts2_ip_address -%> +BTS2=<%= @bts2_ip_address %> +<% end -%> +<% if @bts3_ip_address %> +BTS3=<%= @bts3_ip_address %> +<% end -%> RECIPIENTS=<%= @mail_admins %>