Skip to content

fixed smart quotes and some sample ruby code syntax #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions source/administration/ssl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ stats. Because the agent already utilizes SSL for its communications
to the MMS servers, this is just a matter of enabling SSL support in
MMS itself on a per host basis.

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

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

.. code-block:: javascript

require rubygems
require mongo
require 'rubygems'
require 'mongo'

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

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

.. code-block:: ruby

connection = Mongo::ReplSetConnection.new([localhost, 27017],
[localhost, 27018],
connection = Mongo::ReplSetConnection.new(['localhost', 27017],
['localhost', 27018],
:ssl => true)

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