logdna

pdk
Puppet module to install and configure LogDNA Agent

LogDNA

logdna

8,450 downloads

1,966 latest version

5.0 quality score

Version information

  • 0.8.0 (latest)
  • 0.7.0
  • 0.6.1
  • 0.6.0
  • 0.5.1
  • 0.5.0
  • 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
  • CentOS
    ,
    Ubuntu

Start using this module

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