Forge Home

exhibitor

Manages Exhibitor for zookeeper nodes

9,840 downloads

9,414 latest version

5.0 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.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Apr 28th 2015
This version is compatible with:

Start using this module

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

Add this module to your Puppetfile:

mod 'slackey-exhibitor', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add slackey-exhibitor
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install slackey-exhibitor --version 0.1.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

slackey/exhibitor — version 0.1.2 Apr 28th 2015

Exhibitor

Build Status

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

Puppet module for managing/installing exhibitor for Apache zookeeper. Works with Ubuntu 12.04 and 14.04, possibly other distros. Uses Apache Maven command line to download the artifacts.

Module Description

This module includes a POM file for exhibitor and uses it as the configuration for a Maven build resulting in a .jar file in the installation directory. The configuration options available in the exhibitor config file exhibitor.properties can be passed through from the manifest calling the class.

Setup

class { 'exhibitor':
    servers => ['zk-00-01.domain.com', 'zk-00-02.domain.com'],
  }

What exhibitor affects

* /etc/default/exhibitor
* /etc/init.d/exhibitor
* $install_dir/exhibitor.properties
* $install_dir/exhibitor-stndalone-${version}.jar

Setup Requirements OPTIONAL

exhibitor requires a list of servers, although it will default to 'localhost' for a standalone

Beginning with exhibitor

class { 'exhibitor':
    servers => ['zk-00-01.domain.com', 'zk-00-02.domain.com'],
  }

Usage

Although you may want to modify the defaults for exhibitor.properties, you should set your own preferences for these

settings based on your zookeeper installation(s):
exhibitor version $version = '1.5.5',
exhibitor install dir $install_dir = '/opt/exhibitor',
exhibitor conf dir $conf_dir = '/etc/exhibitor',
other exhibitor servers to monitor $servers = ['localhost'],
/etc/default/exhibitor settings $defaultfile_opts = {
    'port'        => '8080',
    'configtype'  => 'file',
    'fsconfigdir' =>  '/opt/exhibitor',
    'hostname'    =>  $::fqdn,
  },
zookeeper settings
$zk_data_dir    = '/mnt/zookeeper/data',
$zk_log_dir     = '/mnt/zookeeper/log',
$zk_install_dir = '/usr/share/zookeeper'

Reference

manifests: init.pp install.pp, config.pp, service.pp

Limitations

only tested on Ubuntu 12.04 and 14.04 so far

Development

please contribute!

============