stevenrombauts / puppet-logdna

This module manages and installs the LogDNA agent.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LogDNA module for Puppet Build Status Puppet Forge

DEPRECATED

This module is no longer maintained because LogDNA has now released an official Puppet module: logdna/logdna.

Module description

This module manages and installs the LogDNA agent.

Operating System

This module has been tested on the following operating systems:

  • CentOS 6
  • 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'

About

This module manages and installs the LogDNA agent.

License:GNU General Public License v3.0


Languages

Language:Puppet 92.3%Language:Ruby 7.2%Language:HTML 0.5%