Skip to content

Commit

Permalink
[provider] Use ruby variable name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan De Wit committed Feb 19, 2024
1 parent bfc83c3 commit c002246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/mongodb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def self.mongosh_cmd(db, host, cmd)
args.push('--tlsAllowInvalidHostnames') if tls_invalid_hostnames(config)
end

if $config['auth_mechanism'] && $config['auth_mechanism'] == 'x509'
if config['auth_mechanism'] && config['auth_mechanism'] == 'x509'
args.push("--authenticationDatabase '$external' --authenticationMechanism MONGODB-X509")
end

Expand Down

0 comments on commit c002246

Please sign in to comment.