A custom reports processor to send notifications to a Slack channel

Nicolas Corrarello



6,921 latest version

4.6 quality score

Version information

  • 1.0.17 (latest)
  • 1.0.16
  • 1.0.15
  • 1.0.14
  • 1.0.13
  • 1.0.12
  • 1.0.11
  • 1.0.10
  • 1.0.9
  • 1.0.8
  • 1.0.7
  • 1.0.6
  • 1.0.4
  • 1.0.0
  • 0.1.3
  • 0.1.2
released Jun 9th 2016
This version is compatible with:
  • Puppet Enterprise >=2015.2.0 < 2016.2.0
  • RedHat

Start using this module


ncorrare/reportslack — version 1.0.17 Jun 9th 2016


Build Status Coverage Status

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 reportslack
  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


This module enables notifications from Puppet Enterprise to your Slack channel, when there are changes in your infrastructure.

Module Description

This module configures a Puppet Enterprise custom report processor that sends notifications to your slack channel, whenever an agent run has triggered a change in your infrastructure.


What reportslack affects

  • Installs the slack-notifier gem that creates the notifications.
  • Adds an extra report processor to puppet.conf .
  • Creates an extra report processor (slack).

Setup Requirements

The module needs pluginsync enabled. It also requires a manual restart of the pe-puppetserver that I've purposely left out of the Puppet code.

Beginning with reportslack

Set up an Incoming Webhook on Slack. Use the "Add to slack" button below and follow the process to get an incoming webhook url.

Then simply classify your PE Master group with the reportslack class, setting the webhook_url and channel variable as you got from Slack.

You should get notifications similar to the following in the Slack channel you've chosen:


Look at tests/init.pp for an example implementation.


This module has only been tested with Puppet Enterprise


Regular rules apply, fork & PR.


Thanks to dylanratcliffe and jamtur01 for their code examples! Also thanks to atarinut for their PRs.