Modified comparison with empty string

This commit is contained in:
jigen 2015-10-14 19:15:00 +02:00
parent 99fe7db721
commit bb1176d81d

View file

@ -25,7 +25,7 @@ define apt::apt_conf(
mode => '0644', mode => '0644',
} }
if $source { if $source != '' {
File["/etc/apt/apt.conf.d/${name}"] { File["/etc/apt/apt.conf.d/${name}"] {
source => $source, source => $source,
} }