Forge Home


Add arbitrary syslog rules on clients


9,800 latest version

4.6 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.1.0 (latest)
released Oct 30th 2014
This version is compatible with:

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.



jgazeley/syslog — version 0.1.0 Oct 30th 2014


Table of Contents

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


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.


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.


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.