Forge Home

hazelcast

This module should helps you to setup a hazelcast cluster

13,415 downloads

5,175 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.6.2 (latest)
  • 0.6.1
  • 0.6.0
  • 0.5.2
  • 0.5.1
  • 0.5.0
  • 0.4.1
  • 0.4.0
  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.11
  • 0.2.10
  • 0.2.9
  • 0.2.8 (deleted)
  • 0.2.7
  • 0.2.6
  • 0.2.5
  • 0.2.4
  • 0.2.3
  • 0.2.2 (deleted)
  • 0.2.1
  • 0.2.0
  • 0.1.1
released Mar 19th 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'jjuarez-hazelcast', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jjuarez-hazelcast
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jjuarez-hazelcast --version 0.2.0

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

jjuarez/hazelcast — version 0.2.0 Mar 19th 2018

hazelcast

Table of Contents

  1. Description
  2. Setup - The basics of getting started with hazelcast
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

The aim of this module is to help you with the instalation and setup of the hazelcast cluster

You can give more descriptive information in a second paragraph. This paragraph should answer the questions: "What does this module do?" and "Why would I use it?" If your module has a range of functionality (installation, configuration, management, etc.), this is the time to mention it.

Setup

A minimal setup using the default parameter values would be something like this:

class { '::hazelcast': }

or better using the import clause in this form:

import '::hazelcast'

Setup Requirements

Here you can see a more complex setup

class { '::hazelcast':
  version           => '3.9.3',
  root_dir          => '/opt',
  config_dir        => '/etc/hazelcast',
  service_ensure    => 'running',
  manage_user       => true,
  user              => 'hazelcast',
  group             => 'hazelcast',
  download_url      => 'http://download.hazelcast.com/download.jsp?verson=3.9.3&type=tar&p=28888',
  java_home         => '/usr/lib/jvm/jre1.8.0',
  java_options      => '-Dfoo=bar',
  cluster_discovery => 'tcp',
  cluster_user      => 'hzuser',
  cluster_password  => 'supersecret',
  cluster_members   => [
    '192.168.0.23',
    '192.168.0.24',
    '192.168.0.25'
  ]   
}

Of course we recomend you to configure the module using hiera, this is more reliable and flexible depending of your hierarchy, you can view the previous example here:

---
  hazelcast::version: '3.9.3'
  hazelcast::root_dir: '/opt'
  hazelcast::config_dir: '/etc/hazelcast'
  hazelcast::service_ensure: 'running'
  hazelcast::manage_user: true
  hazelcast::user: 'hazelcast'
  hazelcast::group: 'hazelcast'
  hazelcast::download_url: 'http://download.hazelcast.com/download.jsp?verson=3.9.3&type=tar&p=28888'
  hazelcast::java_home: '/usr/lib/jvm/jre1.8.0'
  hazelcast::java_options: '-Dfoo=bar'
  hazelcast::cluster_discovery: 'tcp'
  hazelcast::cluster_user: 'hzuser'
  hazelcast::cluster_password: 'supersecret'
  hazelcast::cluster_members:
    - '192.168.0.23'
    - '192.168.0.24'
    - '192.168.0.25'

Beginning with hazelcast

The very basic steps needed for a user to get the module up and running. This can include setup steps, if necessary, or it can be an example of the most basic use of the module.

Usage

As you can seen in the setup example configuration you can setup a lot of aspects of the module, it's pretty easy

Reference

Limitations

The module supports only Debian systemd distributions: Stretch and Jessie, but we've plans to support another distrobutions that might compatible like CentOS 7 and Ubuntu in a near future (I hope). The configuration of the discovery mechanims supports only TCP in the current version (0.2.0 at the time to write this)

Development

Please feel free to send your ideas in the form of pull requests, and fill an issue if you discover one