attachmentgenie-mailhog
Table of Contents
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with mailhog
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- 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