Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

mongodb

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

DESCRIPTION:

Complete Debian/Ubuntu style MongoDB configuration.

REQUIREMENTS:

Debian or Ubuntu preferred. Tested on Ubuntu 8.04 Server LTS, should work on others.

ATTRIBUTES:

  • 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”

USAGE:

Include the mongodb recipe to install MongoDB and get ‘sane’ default settings.

TODO:

  • support for Master-Slave Replication and Replica Pairs configuration

LICENSE & AUTHOR:

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.