Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/yelp/yelp-uchiwa:
  remove unnecessary str2bool in install.pp since input is already validated
  • Loading branch information
pauloconnor committed Sep 12, 2014
2 parents 38558b8 + e4fed41 commit 8eafd81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8eafd81

Please sign in to comment.