Forge Home

logdna

Puppet management module for LogDNA agent

6,677 downloads

6,498 latest version

4.3 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 (deleted)
released Aug 31st 2016
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet >= 3.0.0 < 5.0.0
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'stevenrombauts-logdna', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add stevenrombauts-logdna
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install stevenrombauts-logdna --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

stevenrombauts/logdna — version 0.1.2 Aug 31st 2016

LogDNA module for Puppet Build Status Puppet Forge

Module description

This module manages and installs the LogDNA agent.

Operating System

This module should work on has been tested on the following operating systems:

  • CentOS 7
  • Debian 7 (wheezy)
  • Debian 8 (jessie)
  • Ubuntu 14.04 (trusty)
  • Ubuntu 16.04 (xenial)

It may work on most derivatives and different versions of the above listed systems.

Usage

To install the LogDNA agent, declare the ::logdna::agent class with your API key:

class { '::logdna::agent':
    key => 'your API key'
}

To change the default logdir configuration, you can pass an array of directories, files and glob patterns to the class:

class { '::logdna::agent':
    key    => 'your API key',
    logdir => ['/var/log', '/home/deploy/revisions.log']
}

Usage from Hiera

To configure using Hiera, include the class in your manifest:

include ::logdna::agent

and add the configuration to Hiera:

logdna::agent::key: 'your API key'
logdna::agent::logdir:
  - '/var/log'
  - '/home/deploy/revisions.log'