Skip to content

Commit

Permalink
removed str2bool because it should not be necessary and broke if defi…
Browse files Browse the repository at this point in the history
…ned by default value as bool:true
  • Loading branch information
zanloy committed Sep 17, 2014
1 parent 436bffc commit f342504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/package.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

'RedHat': {
class { 'sensu::repo::yum': }
if str2bool($sensu::install_repo) {
if $sensu::install_repo {
$repo_require = Yumrepo['sensu']
} else {
$repo_require = undef
Expand Down

0 comments on commit f342504

Please sign in to comment.