syslogd

Configures syslogd on mac osx

Daniel Schaaff

dschaaff

6,669 downloads

6,356 latest version

4.8 quality score

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Mar 2nd 2016
This version is compatible with:
  • Puppet Enterprise >=3.4.0
  • Puppet >=3.4.0
  • Darwin

Start using this module

Documentation

dschaaff/syslogd — version 0.1.1 Mar 2nd 2016

syslogd

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with syslogd
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

Manages the syslogd config on OSX. The initial motivation behind writing this was to manage remote syslog destinations on OS X.

Module Description

Currently allows us to add a remote destination to syslogd. This can be used to send the logs to logstash, splunk, or any other syslog server.

Setup

What syslogd affects

  • /etc/syslog.conf
  • syslog service (/System/Library/LaunchDaemons/com.apple.syslogd.plist)

Setup Requirements

This module depends on the following modules

  • puppetlabs/concat
  • puppetlabs/stdlib

Beginning with syslogd

Usage

Use the remote defined type to define a remote log destination.

syslogd::remote {
  'log_server':
    facility    => '*',
    priority    => '*',
    destination => '192.168.1.16',
    port        => '514',
}

Reference

Classes

  • syslogd: This class should not be called directly, you should simply use the remote defined type.

Defined Types

syslogd::remote

Parameters
  • facility: Required syslog facility
  • priority: Required syslog priority
  • destination: Required Remote host to send syslog to
  • port: Required Port remote host is listening on

Limitations

This has only been tested on Yosemite and El Capitan.

Development

Please submit a pull request for any proposed changes. All contributions are greatly appreciated!