Version information
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
Add this module to your Puppetfile:
mod 'logdna-logdna', '0.8.0'
Learn more about managing modules with a PuppetfileDocumentation
logdna/logdna — version 0.8.0 Dec 6th 2019
Deploy LogDNA with Puppet
Table of Contents
- 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
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 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
Configuration Attributes
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
Platforms Tested
- CentOS 6
- CentOS 7
- Ubuntu 14.04 - Trusty
- Ubuntu 16.04 - Xenial
Usage
There are 2 ways:
- Update parameters in
logdna::params
andinclude logdna
, or class { 'logdna': <param> => <value> }
Contributing
Contributions are always welcome. See the contributing guide to learn how you can help.
License and Authors
- Author: Samir Musali, LogDNA
- License: MIT
Dependencies
- puppetlabs/stdlib (>= 4.2.0 <6.0.0)
- puppetlabs/apt (>= 1.8.0 <7.0.0)
- puppetlabs/package (>=0.2.0 <1.0.0)
- puppetlabs/yumrepo_core (>=1.0.0 <2.0.0)
MIT License Copyright (c) 2018 LogDNA, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.