We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e8b866 + e435bea commit d03357dCopy full SHA for d03357d
lib/puppet/provider/mongodb_replset/mongo.rb
@@ -162,6 +162,11 @@ def get_hosts_status(members)
162
alive.push(member)
163
end
164
165
+ if status.key?('errmsg') && status['errmsg'].include?('no replset config has been received')
166
+ Puppet.debug 'Mongo v4 rs.status() RS not initialized output'
167
+ alive.push(member)
168
+ end
169
+
170
if status.key?('set')
171
if status['set'] != name
172
raise Puppet::Error, "Can't configure replicaset #{name}, host #{host} is already part of another replicaset."
0 commit comments