Skip to content

Commit 3c53d88

Browse files
committed
fix template indentation, readme edits
1 parent af0c60c commit 3c53d88

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MongoDB Module #
22
Author : Sean Porter <portertech@gmail.com>
3-
Version : 0.0.7
3+
Version : 0.0.8
44
Licence : Apache
55

66
Module for creating a MongoDB server.
@@ -35,9 +35,9 @@ Matt McManus - https://github.com/mattmcmanus
3535
## CHANGELOG ##
3636
- v0.0.1 : Hello World.
3737
- v0.0.2 : Require apt to update.
38-
- v0.0.3 : Fixed the apt update. Puppet couldn’t determine the apt update resource state.
39-
- v0.0.4 : Begin support for multiple Ubuntu releases. Added replica set support and README.
38+
- v0.0.3 : Fixed apt update.
39+
- v0.0.4 : Support for multiple Ubuntu releases. Added replica set support.
4040
- v0.0.5 : Support for Ubuntu Maverick (10.10).
4141
- v0.0.6 : Added "python-software-properties" for apt abstraction.
4242
- v0.0.7 : Added support for Ubuntu Natty Narwhal (11.04).
43-
- v0.0.8 : Supports most Ubuntu releases (>= 9.04) (Upstart). Using a class. Adjust ulimit.
43+
- v0.0.8 : Support Ubuntu releases (>= 9.04) (Upstart). Use a class. Adjust ulimit.

templates/mongodb.conf.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
# Managed by Puppet, DO NOT TOUCH!
33

44
pre-start script
5-
mkdir -p /var/lib/mongodb/
6-
mkdir -p /var/log/mongodb/
5+
mkdir -p /var/lib/mongodb/
6+
mkdir -p /var/log/mongodb/
77
end script
88

99
start on runlevel [2345]
1010
stop on runlevel [06]
1111

1212
# http://www.mongodb.org/display/DOCS/Too+Many+Open+Files
13-
# mongodb has a limit of 20k connections
13+
# MongoDB has a hard limit of 20k connections
1414
limit nofile <%= ulimit_nofile %> <%= ulimit_nofile %>
1515

1616
script
1717
ENABLE_MONGODB="yes"
1818
if [ -f /etc/default/mongodb ]; then . /etc/default/mongodb; fi
19-
if [ "x$ENABLE_MONGODB" = "xyes" ]; then exec start-stop-daemon --start --quiet --chuid mongodb --exec /usr/bin/mongod -- --config /etc/mongodb.conf <%= "--replSet #{replSet}" unless replSet.empty? %>; fi
19+
if [ "x$ENABLE_MONGODB" = "xyes" ]; then exec start-stop-daemon --start --quiet --chuid mongodb --exec /usr/bin/mongod -- --config /etc/mongodb.conf <%= "--replSet #{replSet}" unless replSet.empty? %>; fi
2020
end script

0 commit comments

Comments
 (0)