Sha256: 0d621521d6f6dfe482c06a6946180a8a928cef3ee10852f394a41a4b33761028

Contents?: true

Size: 158 Bytes

Versions: 38

Compression:

Stored size: 158 Bytes

Contents

rs.initiate()
<% node['deployment']['servers']['mongo'].each_pair { |nodename, data|
	if !data['mongo_master'] %>
rs.add("<%= nodename %>:27017")
<%	end
} %>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
cloud-mu-3.6.3 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.5.1 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.5.0 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.4.0 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.3.2 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.3.1 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.3.0 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.2.0 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.1.6 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.1.5 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.1.4 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.1.3 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.1.2 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.1.2beta2 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.1.1 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.1.0 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.0.2 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.0.1 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.0.0 cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb
cloud-mu-3.0.0beta cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb