#puppet-zookeeper
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.
- Puppet 2.7, Puppet 3.x
- Ruby 1.8.7, 1.9.3, 2.0.0
- binary package of zookeeper
- Debian 6 Squeeze: you can get ZooKeeper package from Wheezy or Sid repo.
- Debian 7 Wheezy: available in apt repository
class { 'zookeeper': }
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.
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'
For puppet-librarian just add to Puppetfile
mod 'zookeeper', :git => 'git://github.com/deric/puppet-zookeeper.git'
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
- Debian/Ubuntu
- Debian 6 Squeeze, Puppet 3.1.0, Zookeeper 3.3.5
- Debian 7 Wheezy
- Ubuntu 12.04.03 LTS