Skip to content

Draft: Move to mongosh and support mongodb versions 4.4+ only #238

Draft: Move to mongosh and support mongodb versions 4.4+ only

Draft: Move to mongosh and support mongodb versions 4.4+ only #238

Triggered via pull request August 17, 2023 14:59
@witjohwitjoh
synchronize #677
witjoh:mongosh
Status Failure
Total duration 36s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
22s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Puppet / Static validations: lib/puppet/provider/mongodb_replset/mongo.rb#L147
Layout/LeadingCommentSpace: Missing space after `#`. (https://rubystyle.guide#hash-space)
Puppet / Static validations: lib/puppet/provider/mongodb_replset/mongo.rb#L191
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
Puppet / Static validations: lib/puppet/provider/mongodb_replset/mongo.rb#L191
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
Puppet / Static validations: lib/puppet/provider/mongodb_replset/mongo.rb#L191
Lint/DuplicateCaseCondition: Duplicate `when` condition detected.
Puppet / Static validations: lib/puppet/provider/mongodb_replset/mongo.rb#L191
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
Puppet / Static validations: lib/puppet/provider/mongodb_replset/mongo.rb#L193
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
Puppet / Static validations: lib/puppet/provider/mongodb_replset/mongo.rb#L413
Style/IfUnlessModifier: Favor modifier `if` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)
Puppet / Static validations: lib/puppet/provider/mongodb_user/mongodb.rb#L25
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
Puppet / Static validations: lib/puppet/provider/mongodb_user/mongodb.rb#L25
Layout/SpaceAfterComma: Space missing after comma. (https://rubystyle.guide#spaces-operators)
Puppet / Static validations: lib/puppet/provider/mongodb_user/mongodb.rb#L123
Lint/UnusedMethodArgument: Unused method argument - `value`. If it's necessary, use `_` or `_value` as an argument name to indicate that it won't be used. You can also write as `*** if you want the method to accept any arguments but don't care about them. (https://rubystyle.guide#underscore-unused-vars)