Forge Home

logdna

Puppet module to install and configure LogDNA Agent

9,556 downloads

2,444 latest version

5.0 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.8.0 (latest)
  • 0.7.0
  • 0.6.1
  • 0.6.0
  • 0.5.1
  • 0.5.0 (deleted)
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.0
released Dec 6th 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.0.0 <7.0.0
  • ,

Start using this module

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

Add this module to your Puppetfile:

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

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install logdna-logdna --version 0.8.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

logdna/logdna — version 0.8.0 Dec 6th 2019

Deploy LogDNA with Puppet

CircleCI

Table of Contents

  1. Description
  2. Setup - The basics of getting started with LogDNA Module
  3. Parameters - Parameters of this module
  4. Platforms - The list of platforms tested
  5. Usage - Configuration options and additional functionality

Description

Puppet module to install and configure LogDNA Agent

Setup

To use this module, add this declaration to your Puppetfile:

mod 'logdna-logdna'

To manually install this module with puppet module tool:

puppet module install logdna-logdna

Parameters

Parameters have default values set in manifests/params.pp.

Task-specific Attributes

  • agent_install: Whether to install or not. Default is true
  • agent_configure: Whether to configure or not. Default is true
  • agent_service: How to manage LogDNA Agent Service. Default is start. The possible values are:
    • start: in order to start
    • stop: in order to stop
    • restart: in order to restart

Configuration Attributes

  • conf_key: LogDNA API Key - LogDNA Agent won't start unless conf_key is set
  • conf_file: File Path for the LogDNA Agent configuration (defaults to /etc/logdna.conf)
  • conf_logdir: Log Directories to be added
  • conf_logfile: Log Files to be added
  • conf_exclude: Log Files or Directories to be excluded
  • conf_exclude_regex: Exclusion Rule for Log Lines
  • conf_hostname: Alternative host name to be used
  • conf_tags: Tags to be added

Platforms Tested

  • CentOS 6
  • CentOS 7
  • Ubuntu 14.04 - Trusty
  • Ubuntu 16.04 - Xenial

Usage

There are 2 ways:

  • Update parameters in logdna::params and include logdna, or
  • class { 'logdna': <param> => <value> }

Contributing

Contributions are always welcome. See the contributing guide to learn how you can help.

License and Authors