3 Parses /etc/mongodb.conf
5 Author: Brian Redbeard <redbeard@dead-city.org>
8 For information on configuration options available to mongod reference one
9 of the following resources:
10 * The Mongo DB Manual - <http://docs.mongodb.org/manual/>
11 * The current options available for your operating system via:
15 This file is licenced under the LGPL v2+, conforming to the other components
19 Sample usage of this lens in augtool:
21 * Get your current setup
22 > print /files/etc/mongodb.conf
26 > set /files/etc/mongodb.conf/port 27117
32 About: Configuration files
33 This lens applies to /etc/mongodb.conf. See <filter>.
36 The <Test_MongoDBServer> file contains various examples and tests.
38 module MongoDBServer =
44 Build.key_value_line Rx.word Sep.space_equal (store Rx.space_in)
47 let lns = (Util.empty | Util.comment | entry)*
50 (* Variable: filter *)
51 let filter = incl "/etc/mongodb.conf"
53 let xfm = transform lns filter