From 26d8d4dda644f12087ea7abb7ece7daae8037dad Mon Sep 17 00:00:00 2001 From: Jesus Roncero Date: Thu, 18 Sep 2014 10:25:29 +0100 Subject: [PATCH] Fix check of $sensu::install_repo It seems that a str2bool call was added to a value that should already be a bool, making it fail. --- manifests/package.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/package.pp b/manifests/package.pp index 27f979ca85..7358f35b5b 100644 --- a/manifests/package.pp +++ b/manifests/package.pp @@ -12,7 +12,7 @@ 'Debian': { class { 'sensu::repo::apt': } - if str2bool($sensu::install_repo) { + if $sensu::install_repo { $repo_require = Apt::Source['sensu'] } else { $repo_require = undef