syslog

contributions requested
Add arbitrary syslog rules on clients

9,920 downloads

9,920 latest version

4.6 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.0 (latest)
released Oct 30th 2014
This version is compatible with:
  • RedHat

Start using this module

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

Add this module to your Puppetfile:

mod 'jgazeley-syslog', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install jgazeley-syslog --version 0.1.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

jgazeley/syslog — version 0.1.0 Oct 30th 2014

syslog

Table of Contents

  1. Overview
  2. Usage - Configuration options and additional functionality
  3. Limitations - OS compatibility, etc.

Overview

A one-maybe-two sentence summary of what the module does/what problem it solves. This is your 30 second elevator pitch for your module. Consider including OS/Puppet version it works with.

This module installs rsyslog on clients - it is not intended for syslog servers. It provides a resource type that can be used to insert arbitrary syslog rules.

Usage

Put the classes, types, and resources for customizing, configuring, and doing the fancy stuff with your module here.

To install rsyslog and its base config:

include syslog

To install an arbitrary syslog rule:

syslog::rule { 'radiusd-log':
  command => "if \$programname == \'radiusd\' then /var/log/radius/radius.log\n&~",
  order   => '12',
}

When using syslog::rule, you can use any valid rsyslog syntax.

Limitations

Written for CentOS 6. No testing on other platforms although it should be possible to make it work on pretty much everything with minimal changes.