echocat/puppet-mongodb — pull request #48 by joshgarnett (2014-10-26 14:38:44+00:00)
Title: Clean up config spacing

The default erb template leaves a lot of empty newlines in it. This is an attempt to clean that up.

Example:
Current formatting:

```
# !!! generated by puppet !!!
# mongod.conf

dbpath=/data/mongod_config

pidfilepath=/data/mongod_config/mongod.pid

logpath=/var/log/mongodb/mongod_config.log

logappend=true

rest=true

fork=true

configsvr=true

port=27018

```

New Formatting:

```
# !!! generated by puppet !!!
# mongod.conf

dbpath=/data/mongod_config
pidfilepath=/data/mongod_config/mongod.pid
logpath=/var/log/mongodb/mongod_config.log
logappend=true

rest=true
fork=true
configsvr=true
port=27018
```