File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ stats. Because the agent already utilizes SSL for its communications
89
89
to the MMS servers, this is just a matter of enabling SSL support in
90
90
MMS itself on a per host basis.
91
91
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
93
93
MMS console and is currently enabled on a group by group basis by
94
94
10gen.
95
95
@@ -164,18 +164,18 @@ Then connect to a standalone instance, using the following form:
164
164
165
165
.. code-block:: javascript
166
166
167
- require ‘ rubygems’
168
- require ‘ mongo’
167
+ require ' rubygems'
168
+ require ' mongo'
169
169
170
- connection = Mongo::Connection.new(‘ localhost’ , 27017, :ssl => true)
170
+ connection = Mongo::Connection.new(' localhost' , 27017, :ssl => true)
171
171
172
172
Replace ``connection`` with the following if you're connecting to a
173
173
replica set:
174
174
175
175
.. code-block:: ruby
176
176
177
- connection = Mongo::ReplSetConnection.new([‘ localhost, 27017’ ],
178
- [‘ localhost’ , 27018],
177
+ connection = Mongo::ReplSetConnection.new([' localhost' , 27017],
178
+ [' localhost' , 27018],
179
179
:ssl => true)
180
180
181
181
Here, :program:`mongod` instance run on "``localhost:27017``" and
You can’t perform that action at this time.
0 commit comments