Skip to content

Commit a5dc709

Browse files
sarah-olson-mongodbSarah Olson
andauthored
Docs 14623 (#512) (#623)
* DOCS-14623: Update rs.initiate examples * DOCS-14623: Update additional rs.initiate examples Co-authored-by: Sarah Olson <[email protected]> Co-authored-by: Sarah Olson <[email protected]>
1 parent 12160ba commit a5dc709

5 files changed

+5
-5
lines changed

source/includes/steps-deploy-replica-set-with-auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ action:
120120
code: |
121121
rs.initiate(
122122
{
123-
_id : <replicaSetName>,
123+
_id : "myReplSet",
124124
members: [
125125
{ _id : 0, host : "mongo1.example.net:27017" },
126126
{ _id : 1, host : "mongo2.example.net:27017" },

source/includes/steps-deploy-sharded-cluster-config-server-noauth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ action:
111111
code: |
112112
rs.initiate(
113113
{
114-
_id: "<replSetName>",
114+
_id: "myReplSet",
115115
configsvr: true,
116116
members: [
117117
{ _id : 0, host : "cfg1.example.net:27019" },

source/includes/steps-deploy-sharded-cluster-config-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ action:
8181
code: |
8282
rs.initiate(
8383
{
84-
_id: "<replSetName>",
84+
_id: "myReplSet",
8585
configsvr: true,
8686
members: [
8787
{ _id : 0, host : "cfg1.example.net:27017" },

source/includes/steps-deploy-sharded-cluster-shard-replica-noauth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ action:
9090
code: |
9191
rs.initiate(
9292
{
93-
_id : <replicaSetName>,
93+
_id : "myReplSet",
9494
members: [
9595
{ _id : 0, host : "s1-mongo1.example.net:27018" },
9696
{ _id : 1, host : "s1-mongo2.example.net:27018" },

source/includes/steps-deploy-sharded-cluster-shard-replica.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ action:
6666
code: |
6767
rs.initiate(
6868
{
69-
_id : <replicaSetName>,
69+
_id : "myReplSet",
7070
members: [
7171
{ _id : 0, host : "s1-mongo1.example.net:27017" },
7272
{ _id : 1, host : "s1-mongo2.example.net:27017" },

0 commit comments

Comments
 (0)