Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Clean up some lint complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
reist committed Mar 26, 2017
1 parent cfd9b71 commit f063934
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions manifests/mongod.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
$mongod_deactivate_transparent_hugepage = false,
) {

# lint:ignore:selector_inside_resource would not add much to readability

$db_specific_dir = "${::mongodb::params::dbdir}/mongod_${mongod_instance}"

file {
Expand Down Expand Up @@ -64,8 +62,6 @@
}
}

# lint:endignore

if ($mongod_monit != false) {
# notify { "mongod_monit is : ${mongod_monit}": }
class { 'mongodb::monit':
Expand Down
2 changes: 0 additions & 2 deletions manifests/mongos.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
$mongos_add_options = []
) {

# lint:ignore:selector_inside_resource would not add much to readability

$db_specific_dir = "${::mongodb::params::dbdir}/mongos_${mongos_instance}"

file {
Expand Down
3 changes: 3 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
'RedHat': {
$systemd_os = versioncmp($::operatingsystemmajrelease, '7') > 0
}
default: { # deal with lint
$systemd_os = false
}
}

# directorypath to store db directory in
Expand Down

0 comments on commit f063934

Please sign in to comment.