Skip to content

Commit a2012d0

Browse files
author
Andrew Leung
committed
removing smart quotes and fixed ruby code syntax
1 parent 9efb2a8 commit a2012d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/administration/ssl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ stats. Because the agent already utilizes SSL for its communications
8989
to the MMS servers, this is just a matter of enabling SSL support in
9090
MMS itself on a per host basis.
9191

92-
Use the Edit host button (i.e. the pencil) on the Hosts page in the
92+
Use the "Edit" host button (i.e. the pencil) on the Hosts page in the
9393
MMS console and is currently enabled on a group by group basis by
9494
10gen.
9595

@@ -164,18 +164,18 @@ Then connect to a standalone instance, using the following form:
164164

165165
.. code-block:: javascript
166166

167-
require rubygems
168-
require mongo
167+
require 'rubygems'
168+
require 'mongo'
169169

170-
connection = Mongo::Connection.new(localhost, 27017, :ssl => true)
170+
connection = Mongo::Connection.new('localhost', 27017, :ssl => true)
171171

172172
Replace ``connection`` with the following if you're connecting to a
173173
replica set:
174174

175175
.. code-block:: ruby
176176

177-
connection = Mongo::ReplSetConnection.new([localhost, 27017],
178-
[localhost, 27018],
177+
connection = Mongo::ReplSetConnection.new(['localhost', 27017],
178+
['localhost', 27018],
179179
:ssl => true)
180180

181181
Here, :program:`mongod` instance run on "``localhost:27017``" and

0 commit comments

Comments
 (0)