mailhog

pdk
Setup mailhog

bram vogelaar

attachmentgenie

9,922 downloads

452 latest version

5.0 quality score

Version information

  • 4.0.0 (latest)
  • 1.0.0
released Dec 3rd 2020
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 7.0.0
  • Debian
    ,
    Ubuntu
    ,
    CentOS

Start using this module

Tags: mailhog

Documentation

attachmentgenie/mailhog — version 4.0.0 Dec 3rd 2020

attachmentgenie-mailhog

Table of Contents

  1. Module Description - What the module does and why it is useful
  2. Setup - The basics of getting started with mailhog
  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

Module Description

MailHog is an email testing tool for developers:

- Configure your application to use MailHog for SMTP delivery
- View messages in the web UI, or retrieve them with the JSON API

Setup

What mailhog affects

  • Configuration files and directories (created and written to)
  • Package/service/configuration files for Mailhog
  • Listened-to ports

Usage

All options and configuration can be done through interacting with the parameters on the main mailhog class. These are now documented via Puppet Strings

You can view example usage in REFERENCE.

Reference

See REFERENCE.

Limitations

This module currently only exposes a subset of all configuration options.

Development

Running tests

This project contains tests for both rspec-puppet and litmus to verify functionality. For detailed information on using these tools, please see their respective documentation.

Testing quickstart:

pdk bundle install
pdk bundle exec rake 'litmus:provision_list[puppet6]'
pdk bundle exec rake 'litmus:install_agent[puppet6]'
pdk bundle exec rake litmus:install_module
pdk bundle exec rake litmus:acceptance:parallel
pdk bundle exec rake litmus:tear_down