Skip to content

qs5779/dphilpot-nullmailer

 
 

Repository files navigation

Travis Build Status

MASTER: Build Status DEVELOP: Build Status

Puppet module for nullmailer

This Module installs, configures and manages nullmailer. Multiple remote SMTP server can be handled by nullmailer via IP or Hostname.

Basic usage

class {'nullmailer':
  adminaddr      => 'root@example.com',
  allfrommail    => 'somemail@example.com',
  defaultdomain  => 'example.com',
  remotes        => ['one.example.com', '127.0.0.2'],
  me             => 'test.domain.example.com',
  package_ensure => 'latest',
  package_name   => 'nullmailer',
}

Advanced usage

This module is compatible with The Forman and Hiera:

Hiera example:

In the puppet node-file you need to insert just:

include nullmailer

In the hiera-file you need to insert something like this:

nullmailer::adminaddr:      'toor@example.com'
nullmailer::allfrommail:    'somemail@example.com'
nullmailer::defaultdomain:  'example.com'
nullmailer::me:             'test.example.com'
nullmailer::package_ensure: 'latest'
nullmailer::package_name:   'nullmailer'
nullmailer::remotes:
- one.example.com
- 127.0.0.2

Notes

Please feel free to create new Issues if you have any problems or make a pull request with new features/bugfixes etc.

Contributors

Copyright and License

GNU GENERAL PUBLIC LICENSE Version 2

About

A Puppet nullmailer module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 82.6%
  • Puppet 16.9%
  • HTML 0.5%