Alessio Cassibba (x-drum)

xdrum

9,332 downloads

8,799 latest version

2.1 quality score

Version information

  • 0.0.4 (latest)
  • 0.0.2
  • 0.0.1
released Nov 23rd 2014

Start using this module

Documentation

xdrum/rsyslog — version 0.0.4 Nov 23rd 2014

This module manages rsyslog.

Currently supports: RHEL/CentOS, OpenBSD, Gentoo

Class: rsyslog

A class for managing rsyslog server options.

Parameters:

[package_ensure]
Ensure package installation [present, absent, purged, held, latest], default: present.

[default_config]
Install a stanza with default configuration [true, false], default: false.

Sample Usage:

include 'rsyslog'
class { 'rsyslog':
  package_ensure => absent,
  default_config => true,
}

Resource: rsyslog::snippet

A resource for managing rsyslog client stanzas

Parameters:

[lines]
An array containing stanza's lines.

Sample Usage:

rsyslog::snippet { '20-puppet':
  lines => [ ':programname, isequal, "puppet-agent" /var/log/puppet/puppet.log', '& ~' ]
}

Copyright:

Copyright 2014 Alessio Cassibba (X-Drum), unless otherwise noted.