diff --git a/manifests/mongod.pp b/manifests/mongod.pp index afd778d..9f88dfa 100644 --- a/manifests/mongod.pp +++ b/manifests/mongod.pp @@ -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 { @@ -64,8 +62,6 @@ } } -# lint:endignore - if ($mongod_monit != false) { # notify { "mongod_monit is : ${mongod_monit}": } class { 'mongodb::monit': diff --git a/manifests/mongos.pp b/manifests/mongos.pp index 016dc9c..b08d242 100644 --- a/manifests/mongos.pp +++ b/manifests/mongos.pp @@ -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 { diff --git a/manifests/params.pp b/manifests/params.pp index 5bf71e7..abb39e4 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -33,6 +33,9 @@ 'RedHat': { $systemd_os = versioncmp($::operatingsystemmajrelease, '7') > 0 } + default: { # deal with lint + $systemd_os = false + } } # directorypath to store db directory in