From 4227d04021ca7de5840a5c9b31ac9318173ddc7b Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Wed, 18 Mar 2015 13:35:49 +0100 Subject: [PATCH] Fixes in newlines for conditionals --- templates/puppet.default.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/puppet.default.erb b/templates/puppet.default.erb index c3631b3..5d2e55f 100644 --- a/templates/puppet.default.erb +++ b/templates/puppet.default.erb @@ -8,9 +8,9 @@ START=<%- if @enable_puppet == true-%>yes<%-else-%>no<%-end%> # Startup options DAEMON_OPTS="" -<% if @http_proxy %> +<% if @http_proxy -%> export http_proxy=<%= @http_proxy %> -<% end %> -<% if @https_proxy %> +<% end -%> +<% if @https_proxy -%> export https_proxy=<%= @https_proxy %> -<% end %> +<% end -%>