Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

alphagov/puppet-reporter-sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet reporter for Sentry

This Puppet module sends reports about failed runs to https://sentry.io/.

You'll need the sentry-raven gem installed on the Puppet master.

Setting the Sentry DSN

The sentry-raven Gem should automatically detect the DSN from the SENTRY_DSN environment variable. This is the default behaviour of sentry-raven.

Older versions of Puppet Server don't allow custom environment variables to be set. In this case, setting the DSN from /etc/puppet/sentry.conf is also supported. The contents of the file should be:

dsn = https://USER:[email protected]/123456/

The environment variable PUPPET_SENTRY_DSN is also checked.

If a DSN can't be found, the reporter is not registered, and an error is logged to the Puppet Server's logfile.

About

Puppet report processor for Sentry

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages