Skip to content

Commit 8eafd81

Browse files
committed
Merge branch 'master' of https://github.com/yelp/yelp-uchiwa
* 'master' of https://github.com/yelp/yelp-uchiwa: remove unnecessary str2bool in install.pp since input is already validated
2 parents 38558b8 + e4fed41 commit 8eafd81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/install.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
case $::osfamily {
55
'Debian': {
66
class { 'uchiwa::repo::apt': }
7-
if str2bool($uchiwa::install_repo) {
7+
if ($uchiwa::install_repo) {
88
$repo_require = Apt::Source['sensu']
99
} else {
1010
$repo_require = undef
@@ -13,7 +13,7 @@
1313

1414
'RedHat': {
1515
class { 'uchiwa::repo::yum': }
16-
if str2bool($uchiwa::install_repo) {
16+
if ($uchiwa::install_repo) {
1717
$repo_require = Yumrepo['sensu']
1818
} else {
1919
$repo_require = undef

0 commit comments

Comments
 (0)