GithubHelp home page GithubHelp logo

pe_puppet_agent_syslog's Introduction

pe_puppet_agent_syslog

Table of Contents

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

Description

This module will automatically set up rsyslog and Puppet agent such that all agent logging will be directed to a file of your choosing. This file defaults to /var/log/puppetlabs/puppet-agent.log. This automates the process of splitting Puppet agent messages out from /var/log/messages to their own file.

This module assumes you are running a version of Linux that utilizes rsyslog as the logging subsystem.

This class can be applied to any node in your infrastructure where you would like to have Puppet agent, both command like invocations and automated runs, log to a separate file along with /var/log/messages.

Setup

What pe_puppet_agent_syslog affects

This module will add a new rsyslog configuration file under /etc/rsyslog.d, set to be loaded last. By default, it will log on syslog facility "local6", but this can be configured via parameter if it is already in use in your environment.

Beginning with pe_puppet_agent_syslog

Assign the class to a node group that encompasses the nodes you wish to set up.

Usage

There are two parameters, "facility" and "log_filename":

"facility": The syslog facility on which Puppet agent will log. This defaults to "local6".

"log_filename": The destination file where the Puppet agent logs will be stored. This defaults to "/var/log/puppetlabs/puppet-agent.log"

Reference

Limitations

This module currently only handles systems with rsyslog as the logging subsystem.

Development

Release Notes/Contributors/Etc. Optional

pe_puppet_agent_syslog's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.