@@ -45,7 +45,7 @@ If you want a server installation with the default options you can run
4545options you need to do the following:
4646
4747``` puppet
48- class {'mongodb::server':
48+ class { 'mongodb::server':
4949 port => 27018,
5050 verbose => true,
5151}
@@ -56,21 +56,21 @@ To install client with default options run `include mongodb::client`
5656To override the default mongodb repo version you need the following:
5757
5858``` puppet
59- class {'mongodb::globals':
59+ class { 'mongodb::globals':
6060 repo_version => '4.4',
6161}
62- -> class {'mongodb::server': }
63- -> class {'mongodb::client': }
62+ -> class { 'mongodb::server': }
63+ -> class { 'mongodb::client': }
6464```
6565
6666If you have a custom Mongodb repository you can opt out of repo management:
6767
6868``` puppet
69- class {'mongodb::globals':
69+ class { 'mongodb::globals':
7070 manage_package_repo => false,
7171}
72- -> class {'mongodb::server': }
73- -> class {'mongodb::client': }
72+ -> class { 'mongodb::server': }
73+ -> class { 'mongodb::client': }
7474```
7575
7676## Usage
@@ -85,7 +85,7 @@ class does nothing.
8585To install MongoDB server, create database "testdb" and user "user1" with password "pass1".
8686
8787``` puppet
88- class {'mongodb::server':
88+ class { 'mongodb::server':
8989 auth => true,
9090}
9191
@@ -103,7 +103,7 @@ If one plans to configure sharding for a Mongo deployment, the module offer
103103the ` mongos ` installation. ` mongos ` can be installed the following way :
104104
105105``` puppet
106- class {'mongodb::mongos' :
106+ class { 'mongodb::mongos' :
107107 configdb => ['configsvr1.example.com:27018'],
108108}
109109```
@@ -113,7 +113,7 @@ class {'mongodb::mongos' :
113113To install Ops Manager and have it run with a local MongoDB application server do the following:
114114
115115``` puppet
116- class {'mongodb::opsmanager':
116+ class { 'mongodb::opsmanager':
117117 opsmanager_url => 'http://opsmanager.yourdomain.com'
118118 mongo_uri => 'mongodb://yourmongocluster:27017,
119119 from_email_addr => 'opsmanager@yourdomain.com',
0 commit comments