Skip to content

Commit dc01ae0

Browse files
committed
#512: sharding.pp, ensure 'bind_ip' array not string
1 parent a6995a4 commit dc01ae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/sharding.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
-> class {'mongodb::server':
3131
shardsvr => true,
3232
replset => 'rs1',
33-
bind_ip => $::ipaddress,
33+
bind_ip => [$::ipaddress],
3434
}
3535
-> class {'mongodb::client': }
3636
mongodb_replset{'rs1':
@@ -46,7 +46,7 @@
4646
-> class {'mongodb::server':
4747
shardsvr => true,
4848
replset => 'rs1',
49-
bind_ip => $::ipaddress,
49+
bind_ip => [$::ipaddress],
5050
}
5151
-> class {'mongodb::client': }
5252
mongodb_replset{'rs1':

0 commit comments

Comments
 (0)