Skip to content

huboard/puppet-module-couchdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet CouchDB Module

Module for configuring CouchDB

Tested on :

  • Debian GNU/Linux 6.0 Squeeze
  • Ubuntu Lucid 32 Bit
  • Ubuntu Precise 64 Bit

With Puppet 2.6 and 2.7.

Patches for other operating systems welcome.

Installation

Clone this repo to a couchdb directory under your Puppet modules directory :

git clone git://github.com/Benjamin-Ds/puppet-module-couchdb.git couchdb

Usage

Puppet master-less

puppet apply -e "class { 'couchdb': bind => '0.0.0.0' }"

With Vagrant + Ubuntu Precise 64 :

vagrant up
curl 127.0.0.1:5984
open http://127.0.0.1:5984/_utils/

Install older version than v1.2.0

# site.pp
node default {
  class { 'couchdb':
    bind        => '0.0.0.0',
    download    => 'http://mirrors.ircam.fr/pub/apache/couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz',
    filename    => 'apache-couchdb-1.1.1.tar.gz',
    foldername  => 'apache-couchdb-1.1.1',
  }
}
puppet apply /path/to/site.pp --modulepath /etc/puppet/modules --logdest console

Running the tests

Install the dependencies using Bundler:

bundle install

Run the following command :

bundle exec rake spec

TODO

  • SSL cert options
  • configure builds options
  • dynamic foldername, filename, extension

About

Puppet module for configuring Apache CouchDB

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 75.8%
  • Ruby 24.2%