- Description
- Setup - The basics of getting started with LogDNA Module
- Parameters - Parameters of this module
- Platforms - The list of platforms tested
- Usage - Configuration options and additional functionality
Puppet module to install and configure LogDNA Agent
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 have default values set in manifests/params.pp
.
agent_install
: Whether to install or not. Default istrue
agent_configure
: Whether to configure or not. Default istrue
agent_service
: How to manage LogDNA Agent Service. Default isstart
. The possible values are:start
: in order to startstop
: in order to stoprestart
: in order to restart
conf_key
: LogDNA API Key - LogDNA Agent won't start unlessconf_key
is setconf_file
: File Path for the LogDNA Agent configuration (defaults to/etc/logdna.conf
)conf_logdir
: Log Directories to be addedconf_logfile
: Log Files to be addedconf_exclude
: Log Files or Directories to be excludedconf_exclude_regex
: Exclusion Rule for Log Linesconf_hostname
: Alternative host name to be usedconf_tags
: Tags to be added
- CentOS 6
- CentOS 7
- Ubuntu 12.04 - Precise
- Ubuntu 14.04 - Trusty
- Ubuntu 16.04 - Xenial
- Ubuntu 17.10 - Artful
There are 2 ways:
- Update parameters in
logdna::params
andinclude logdna
, or class { 'logdna': <param> => <value> }
Contributions are always welcome. See the contributing guide to learn how you can help.
- Author: Samir Musali, LogDNA
- License: MIT