Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Yelp/puppet-zookeeper

Open more actions menu
 
 

Repository files navigation

#puppet-zookeeper

Build Status

A puppet receipt for Apache Zookeeper. ZooKeeper is a high-performance coordination service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

Requirements

  • Puppet 2.7, Puppet 3.x
  • Ruby 1.8.7, 1.9.3, 2.0.0
  • binary package of zookeeper

Debian/Ubuntu

  • Debian 6 Squeeze: you can get ZooKeeper package from Wheezy or Sid repo.
  • Debian 7 Wheezy: available in apt repository

Basic Usage:

class { 'zookeeper': }

Parameters

  • id - cluster-unique zookeeper's instance id (1-255)
  • datastore
  • log_dir
  • purge_interval - automatically will delete zookeeper logs (available since 3.4.0)
  • snap_retain_count - number of snapshots that will be kept after purging (since 3.4.0)

and many others, see the init.pp file for more details.

Hiera Support

All parameters could be defined in hiera files, e.g. common.yaml, Debian.yaml or zookeeper.yaml:

zookeeper::id: 1
zookeeper::client_port: 2181
zookeeper::datastore: '/var/lib/zookeeper'

Install

librarian (recommended)

For puppet-librarian just add to Puppetfile

mod 'zookeeper', :git => 'git://github.com/deric/puppet-zookeeper.git'

submodules

If you are versioning your puppet conf with git just add it as submodule, from your repository root:

git submodule add git://github.com/deric/puppet-zookeeper.git modules/zookeeper

Supported platforms

  • Debian/Ubuntu

Tested on:

  • Debian 6 Squeeze, Puppet 3.1.0, Zookeeper 3.3.5
  • Debian 7 Wheezy
  • Ubuntu 12.04.03 LTS

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.