File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
# MongoDB Module #
2
2
Author : Sean Porter <portertech@gmail.com>
3
- Version : 0.0.7
3
+ Version : 0.0.8
4
4
Licence : Apache
5
5
6
6
Module for creating a MongoDB server.
@@ -35,9 +35,9 @@ Matt McManus - https://github.com/mattmcmanus
35
35
## CHANGELOG ##
36
36
- v0.0.1 : Hello World.
37
37
- 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.
40
40
- v0.0.5 : Support for Ubuntu Maverick (10.10).
41
41
- v0.0.6 : Added "python-software-properties" for apt abstraction.
42
42
- 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.
Original file line number Diff line number Diff line change 2
2
# Managed by Puppet, DO NOT TOUCH!
3
3
4
4
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/
7
7
end script
8
8
9
9
start on runlevel [2345]
10
10
stop on runlevel [06]
11
11
12
12
# 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
14
14
limit nofile <%= ulimit_nofile %> <%= ulimit_nofile %>
15
15
16
16
script
17
17
ENABLE_MONGODB="yes"
18
18
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
20
20
end script
You can’t perform that action at this time.
0 commit comments