diff --git a/manifests/install.pp b/manifests/install.pp index 63f8141be..b15c694ed 100755 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -4,7 +4,7 @@ case $::osfamily { 'Debian': { class { 'uchiwa::repo::apt': } - if str2bool($uchiwa::install_repo) { + if ($uchiwa::install_repo) { $repo_require = Apt::Source['sensu'] } else { $repo_require = undef @@ -13,7 +13,7 @@ 'RedHat': { class { 'uchiwa::repo::yum': } - if str2bool($uchiwa::install_repo) { + if ($uchiwa::install_repo) { $repo_require = Yumrepo['sensu'] } else { $repo_require = undef