Forge Home

sentry

This module configures sentry exception tracker.

9,558 downloads

9,360 latest version

0.4 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.2.0 (latest)
  • 0.1.0
released Oct 7th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'braiins-sentry', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add braiins-sentry
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install braiins-sentry --version 0.2.0

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

braiins/sentry — version 0.2.0 Oct 7th 2014

sentry

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

This module configures sentry exceptions tracker and analyzer. It has been tested with puppet 3.7.x on Debian systems.

Module Description

Sentry is a robust exceptions tracker and analyzer. This module sets up the sentry instance and a database backend including deployment of the required database scheme and admin user.

Setup

What sentry affects

  • the module deploys a new database with admin user (called 'sentry') only if the specified database host points to localhost. Using a non-local backend assumes presence of an empty database.

Setup Requirements OPTIONAL

Nothing special.

Usage

It is recommended/preferable to configure the site specific parameters of the main class via hiera:

sentry::db_port: '5432'
sentry::db_password: 'some-password'
sentry::backend_type: 'postgres'
sentry::deploy_super_user: false
sentry::super_user: 'admin'
sentry::super_user_email: 'admin@youradminemail.com'
sentry::http_port: '80'
sentry::url_prefix: 'yoursentrysite.com'
sentry::allowed_hosts:
  - 'yoursentrysite.com'
sentry::secret_key: 'djangosecretkey''
sentry::server_email: 'sentry@yoursitedomain.com'

The sentry class is then instantiated as follows:

class { 'sentry':
  user => 'sentryadmin',
}

Reference

Classes:

Resources:

Limitations

The module currently supports only postgres backend and has been tested on Debian Wheezy and puppet 3.7.1.

Development

Patches and improvements are welcome as pull requests for the central project github repository.

Contributors