Skip to content

README: fix spacing style #780

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
Jun 11, 2025
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
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ If you want a server installation with the default options you can run
options you need to do the following:

```puppet
class {'mongodb::server':
class { 'mongodb::server':
port => 27018,
verbose => true,
}
Expand All @@ -56,21 +56,21 @@ To install client with default options run `include mongodb::client`
To override the default mongodb repo version you need the following:

```puppet
class {'mongodb::globals':
class { 'mongodb::globals':
repo_version => '4.4',
}
-> class {'mongodb::server': }
-> class {'mongodb::client': }
-> class { 'mongodb::server': }
-> class { 'mongodb::client': }
```

If you have a custom Mongodb repository you can opt out of repo management:

```puppet
class {'mongodb::globals':
class { 'mongodb::globals':
manage_package_repo => false,
}
-> class {'mongodb::server': }
-> class {'mongodb::client': }
-> class { 'mongodb::server': }
-> class { 'mongodb::client': }
```

## Usage
Expand All @@ -85,7 +85,7 @@ class does nothing.
To install MongoDB server, create database "testdb" and user "user1" with password "pass1".

```puppet
class {'mongodb::server':
class { 'mongodb::server':
auth => true,
}

Expand All @@ -103,7 +103,7 @@ If one plans to configure sharding for a Mongo deployment, the module offer
the `mongos` installation. `mongos` can be installed the following way :

```puppet
class {'mongodb::mongos' :
class { 'mongodb::mongos' :
configdb => ['configsvr1.example.com:27018'],
}
```
Expand All @@ -113,7 +113,7 @@ class {'mongodb::mongos' :
To install Ops Manager and have it run with a local MongoDB application server do the following:

```puppet
class {'mongodb::opsmanager':
class { 'mongodb::opsmanager':
opsmanager_url => 'http://opsmanager.yourdomain.com'
mongo_uri => 'mongodb://yourmongocluster:27017,
from_email_addr => '[email protected]',
Expand Down