Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

[DEPRECATED] Puppet module to install and manage a Graylog 1.x system.

License

Notifications You must be signed in to change notification settings

graylog-labs/graylog2-puppet

Repository files navigation

Graylog

Build Status

WARNING

This module only supports Graylog 1.x!

We started a new Puppet module for Graylog 2.0 over at: https://forge.puppet.com/graylog/graylog

This one is deprecated and no longer maintained.

Table of Contents

  1. Overview
  2. Installation
  3. Usage
  4. Authors
  5. Credits
  6. License

Overview

This module manages a Graylog setup including the server and the web-interface.

Supported Graylog versions:

  • 1.0, 1.1

Supported platforms:

  • Debian 7
  • Ubuntu 14.04
  • CentOS 6.5

Installation

There is an implicit dependency to Elasticsearch and MongoDB - make sure to set those up properly before using this module! You can use existing Puppet modules to do that.

Librarian-Puppet

mod 'graylog2/graylog2', 'x.x.x'

Check for the latest version!

Puppet Module Tool

puppet module install graylog2/graylog2

Manual Installation

This module depends on:

So all repositories have to be checked out:

git clone https://github.com/Graylog2/graylog2-puppet.git modules/graylog2
git clone https://github.com/puppetlabs/puppetlabs-apt.git modules/apt
git clone https://github.com/puppetlabs/puppetlabs-stdlib.git modules/stdlib

Usage

A Graylog example including the server and the web-interface component. The module does not setup Elasticsearch and MongoDB so make sure to have those installed as well!

class {'graylog2::repo':
  version => '1.1'
} ->
class {'graylog2::server':
  password_secret    => 'veryStrongSecret',
  root_password_sha2 => 'sha256PasswordHash'
} ->
class {'graylog2::web':
  application_secret => 'veryStrongSecret',
}

Installing graylog-radio with default settings (deprecated since Graylog 1.0)

class {'graylog2::repo':
  version => '1.1'
}->
class {'graylog2::radio': }

Authors

Credits

To the community package maintainers. (The official Graylog packages are used now.)

License

graylog2-puppet is released under the MIT License. See the bundled LICENSE file for details.