Rex::IO::CMDB is a small configuration management database for Rex.
This is a work in progress project.
First you have to install CouchDB from http://couchdb.apache.org/. There are already some Linux Distributions that ships CouchDB.
echo "dev-db/couchdb ~amd64" >>/etc/portage/package.accept_keywords emerge dev-db/couchdb
apt-get install couchdb
yum install couchdb
- From Source
You can also install it from source. You can download the sourcecode from http://couchdb.apache.org/
Than you need to install Mojolicious. You can get it from http://mojolicio.us or from CPAN.
Than you have to clone the git repository:
git clone git://github.com/krimdomu/rex-io-cmdb.git
And run the rex_iocmdb_initdb.
cd rex-io-cmdb bin/rex_io_cmdb_initdb --server=localhost:5984 --db-name=cmdb
After that, just edit the file cmdb.conf to suit your needs.
After all you can start the server by typing: