Skip to content

Commit 8219d9e

Browse files
author
Johan De Wit
committed
[provider] Use ruby variable name fix
1 parent 0e73ade commit 8219d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/mongodb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def self.mongosh_cmd(db, host, cmd)
111111
args.push('--tlsAllowInvalidHostnames') if tls_invalid_hostnames(config)
112112
end
113113

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

0 commit comments

Comments
 (0)