Git Product home page Git Product logo

puppet-zookeeper's Introduction

#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': }

If $::ipaddress is not your public IP (e.g. you are using Docker) make sure to setup correct IP:

class { 'zookeeper':
  client_ip => $::ipaddress_eth0
}

or in Hiera:

zookeeper::client_ip: "%{::ipaddress_eth0}"

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

puppet-zookeeper's People

Contributors

deric avatar liamjbennett avatar stack72 avatar kscherer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.