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.
1 parent 950a7c9 commit 28a776dCopy full SHA for 28a776d
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.info '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