From dccce9424fcadac23a404987e016edacf3d15d52 Mon Sep 17 00:00:00 2001 From: Disconn3ct Date: Wed, 20 Aug 2014 08:49:33 -0400 Subject: [PATCH] Fix disabling of repository --- manifests/repo.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/repo.pp b/manifests/repo.pp index dbe5cbc..a9f8e64 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -36,7 +36,7 @@ else { $osver = $osver_array[0] } - if $enable { + if str2bool($enable) { case $::osfamily { redhat: { yumrepo { 'varnish':