Forge Home

syslogd

Configures syslogd on mac osx

7,763 downloads

7,386 latest version

4.8 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.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

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

Add this module to your Puppetfile:

mod 'dschaaff-syslogd', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dschaaff-syslogd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dschaaff-syslogd --version 0.1.1

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

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!