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