Forge Home

graylog2

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

8,637 downloads

8,637 latest version

3.2 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.0 (latest)
released Jun 25th 2015

Start using this module

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

Add this module to your Puppetfile:

mod 'vassav-graylog2', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add vassav-graylog2
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install vassav-graylog2 --version 0.1.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

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