The ssmtp Puppet module provides the installation procedure for ssmtp including the setup of the alternate system if not overwritten by class parameter.
The ssmtp Puppet module replaces the standard mail server configuration with a lightweight sending-only server. The behavior is the same as sendmail but without the possibility to receive emails from external systems.
The ssmtp Puppet module can be downloaded or directly installed from the Puppet forge using this URL: https://forge.puppet.com/thbe/ssmtp
The ssmtp Puppet module source code can be downloaded or cloned from Github using this URL: https://github.com/thbe/puppet-ssmtp