Update check for blank values

blank settings were populated anyway, causing
puppet agent to fail, ensure no blank values are added.

Change-Id: Icb9afc51f88d7fcfe18ad538a819606cd7305027
This commit is contained in:
Yolanda Robla 2015-09-25 16:34:08 +02:00
parent 0ef5e50952
commit 90747620e2
1 changed files with 3 additions and 3 deletions

View File

@ -8,11 +8,11 @@ factpath=$vardir/lib/facter
templatedir=$confdir/templates
<% end %>
<% if @puppet_ca_server -%>
<% if @puppet_ca_server != '' -%>
ca_server=<%= @puppet_ca_server %>
<% end -%>
<% if @dns_alt_names -%>
<% if @dns_alt_names != '' -%>
dns_alt_names=<%= @dns_alt_names %>
<% end -%>
@ -39,7 +39,7 @@ report=true
splay = true
runinterval = <%= @agent_runinterval %>
<% if @agent_http_proxy_host -%>
<% if @agent_http_proxy_host != '' -%>
http_proxy_host=<%= @agent_http_proxy_host %>
http_proxy_port=<%= @agent_http_proxy_port %>
<% end %>