graylog2

Minimal module for Install graylog2 + dependenced java, mongodb-server, elasticsearch.

Vasiliy V. G.

vassav

7,794 downloads

7,794 latest version

3.2 quality score

Version information

  • 0.1.0 (latest)
released Jun 25th 2015

Start using this module

Documentation

vassav/graylog2 — version 0.1.0 Jun 25th 2015

graylog2

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with graylog2
  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.

Overview

Minimal module for Install graylog2 + dependenced java, mongodb-server, elasticsearch.

Module Description

Minimal module for install graylog2 server ang web params.pp Used parameters from Hiera (see example in files) or set defaults

Setup

###The module manages the following

  • graylog2 repository files.
  • graylog2 package.
  • graylog2 configuration file.
  • graylog2 service.
  • graylog2 deps.

Usage

Install All

Add in site.pp like this ! WARNING ! : May modify installed java, mongodb, elasticsearch.

node 'modtest.node' {
  class { 'graylog2::install': }
}

Steps from install.pp

Create repos only

node 'modtest.node' {
  class { 'graylog2::repos': }
}

Install deps for graylog2

node 'modtest.node' {
  class { 'graylog2::depinstall': }
}

Install graylog2 only

node 'modtest.node' {
  class { 'graylog2::installgl': }
}

Create ang Control elasticsearch + graylog2 configs and ES+GL2+Deps services on node.

node 'modtest.node' {
  class { 'graylog2::configure': }
}

Disable Graylog2 services

node 'modtest.node' {
  class { 'graylog2::stopgl': }
}

Reference

params.pp use parameters from Hiera (see example in files) or set defaults. For the required graylog2 config edit params.pp, graylog_server.conf.erb, graylog_web.conf.erb

Limitations

The module has been tested on:

  • Puppet 3.8
  • CentOS 6.5 x86_64