Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

configures journald via puppet

License

Notifications You must be signed in to change notification settings

simp/pupmod-simp-journald

 
 

Repository files navigation

License CII Best Practices Puppet Forge Puppet Forge Downloads Build Status

Table of Contents

Overview

systemd-journald is a system service that collects and stores logging data.

It creates and maintains structured, indexed journals based on logging information that is received from a variety of sources:

  • Kernel log messages, via kmsg
  • Simple system log messages, via the libc syslog(3) call
  • Structured system log messages via the native Journal API, see sd_journal_print(4)
  • Standard output and standard error of system services
  • Audit records, via the audit subsystem

See REFERENCE.md for more details.

Setup

Beginning with journald

include journald

Usage

class {'journald': options => {
    'Compress'         => 'yes',
    'ForwardToSyslog'  => 'yes',
    'ForwardToKMsg'    => 'yes',
    'ForwardToConsole' => 'no',
    'TTYPath'          => '/dev/console',
  }
}

Limitations

This module is only appicable on systems that run journald

Development

  • Fork the project
  • Commit and push until you are happy with your contribution
  • Send a pull request with a description of your changes