Skip to content

Commit e6fa052

Browse files
committed
fixup! fixup! fixup! Connect to localhost in provider when possible
1 parent 29fba5b commit e6fa052

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/puppet/provider/mongodb.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ def self.conn_string
135135
"#{ip_real}:#{port_real}"
136136
end
137137

138+
def conn_string
139+
self.conn_string
140+
end
141+
138142
def self.db_ismaster
139143
cmd_ismaster = 'db.isMaster().ismaster'
140144
db = 'admin'

0 commit comments

Comments
 (0)