Complete Debian/Ubuntu style MongoDB configuration.
Debian or Ubuntu preferred. Tested on Ubuntu 8.04 Server LTS, should work on others.
-
mongodb = User to install and run MongoDB under. Default: “mongodb”
-
mongodb = User group to install and run MongoDB under. Default: “mongodb”
-
mongodb = Specifies a single IP that the database server will listen for. Default: “127.0.0.1”
-
mongodb = Specifies the port number on which Mongo will listen for client connections. Default: “27017”
-
mongodb = MongoDB version to install. Default: ‘1.2.0’
-
mongodb = Default: “mongodb-linux-#{kernel || ‘i686’}-#{mongodb}”
-
mongodb = Url to download MongoDB files from. Default: “downloads.mongodb.org/linux/#{mongodb}.tgz”
-
mongodb = Location to install MongoDB files to. Default: “/usr/local/mongodb”
-
mongodb = Specifies the directory for datafiles. Default: “/var/lib/mongodb”
-
mongodb = Directory to write log files to. Default: “/var/log/mongodb”
-
mongodb = Directory to read MongoDB conf file from. Default: “/etc/mongodb”
-
mongodb = Directory for inti.d service to write pid file to. Default: “/var/run”
Include the mongodb recipe to install MongoDB and get ‘sane’ default settings.
-
support for Master-Slave Replication and Replica Pairs configuration
- Author
-
Seth Chisamore (<schisamo@gmail.com>)
- Copyright
-
2010, Seth Chisamore
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.