Switch empty string to undef

Empty strings were still making that the conditions
of templates were considered true.
This commit is contained in:
Yolanda Robla 2015-03-18 13:43:35 +01:00
parent 4227d04021
commit e255c1e7b9
1 changed files with 7 additions and 7 deletions

View File

@ -17,15 +17,15 @@
class puppet ( class puppet (
$pin_puppet = '3.', $pin_puppet = '3.',
$enable_puppet = false, $enable_puppet = false,
$http_proxy = '', $http_proxy = undef,
$agent_http_proxy_host = '', $agent_http_proxy_host = undef,
$agent_http_proxy_port = '', $agent_http_proxy_port = undef,
$https_proxy = '', $https_proxy = undef,
$certname = $::fqdn, $certname = $::fqdn,
$puppetmaster_server = 'puppetmaster.openstack.org', $puppetmaster_server = 'puppetmaster.openstack.org',
$puppet_ca_server = '', $puppet_ca_server = undef,
$ca_server = '', $ca_server = undef,
$dns_alt_names = '', $dns_alt_names = undef,
$environment_path = '/etc/puppet/environments', $environment_path = '/etc/puppet/environments',
$basemodule_path = '/etc/puppet/modules', $basemodule_path = '/etc/puppet/modules',
$environment_timeout = 0, $environment_timeout = 0,