This Module installs, configures and manages nullmailer. Multiple remote SMTP server can be handled by nullmailer via IP or Hostname.
class {'nullmailer':
adminaddr => '[email protected]',
defaultdomain => 'example.com',
remotes => ['one.example.com', '127.0.0.2'],
me => 'test.domain.example.com',
package_ensure => 'latest',
package_name => 'nullmailer',
}
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: '[email protected]'
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
Please feel free to create new Issues if you have any problems or make a pull request with new features/bugfixes etc.
GNU GENERAL PUBLIC LICENSE Version 2