From bb1176d81dfb82d79592c3e139e26b4ab213c675 Mon Sep 17 00:00:00 2001 From: jigen Date: Wed, 14 Oct 2015 19:15:00 +0200 Subject: [PATCH] Modified comparison with empty string --- manifests/apt_conf.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp index f446c69..01540de 100644 --- a/manifests/apt_conf.pp +++ b/manifests/apt_conf.pp @@ -25,7 +25,7 @@ define apt::apt_conf( mode => '0644', } - if $source { + if $source != '' { File["/etc/apt/apt.conf.d/${name}"] { source => $source, }