Version information
released May 28th 2014
Start using this module
Add this module to your Puppetfile:
mod 'viirya-zookeeper', '0.0.7'
Learn more about managing modules with a PuppetfileDocumentation
viirya/zookeeper — version 0.0.7 May 28th 2014
Puppet module for deploying Apache Zookeeper in clustered setup
This module deploys Apache Zookeeper cluster. It is tested with Apache Zookeeper 3.4.5 under puppet agent/master environment.
Usage
After installing this module in puppet master node, in site.pp, defining:
node 'server1' {
include java
class {'zookeeper::cluster':
server_id => '1',
}
}
node 'server2' {
include java
class {'zookeeper::cluster':
server_id => '2',
}
}
node 'server3' {
include java
class {'zookeeper::cluster':
server_id => '3',
}
}
Downloading Apache Zookeeper package and putting the file under 'files' subdir of this module.
Please also modify parameters such as 'servers' in manifests/params.pp.
Kerberos
Since 0.0.6, this module supports Kerberos-secured installation. You can generate Kerberos principles and keytab files before installing Zookeeper by:
include zookeeper::cluster::kerberos
Then copy generated keytab files from $keytab_path to files/keytab/. These keytab files would be copyed and installed on corresponding nodes according to $fqdn.
Dependencies
- viirya/java (0.0.5)
Copyright (C) 2013 Liang-Chi Hsieh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.