From a2012d050423fae8387a3925babb56fbe959f888 Mon Sep 17 00:00:00 2001 From: Andrew Leung Date: Thu, 13 Sep 2012 10:07:18 -0400 Subject: [PATCH] removing smart quotes and fixed ruby code syntax --- source/administration/ssl.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/administration/ssl.txt b/source/administration/ssl.txt index 408d0486f27..f72310ef826 100644 --- a/source/administration/ssl.txt +++ b/source/administration/ssl.txt @@ -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. @@ -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