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 -%>