Forge Home

10,894 downloads

10,507 latest version

3.7 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.2 (latest)
  • 0.0.1
released Mar 10th 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'benjamin-couchdb', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add benjamin-couchdb
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install benjamin-couchdb --version 0.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

benjamin/couchdb — version 0.0.2 Mar 10th 2013

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.

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

TODO

  • SSL cert options
  • configure builds options
  • dynamic foldername, filename, extension
  • Tests w/ rspec-puppet