Closed vinzent closed 9 years ago
Add ssmpt.conf AuthUser, AuthPass, AuthMethod, TLSCert, TLSKey, TLS_CA_File and TLS_CA_Dir as class parameters.
Add a new param require_yum to have the ability to disable the "require yum" as needed.
The ssmtp.conf file should not be world-readable as it could contain credentils.
Tested on CentOS 6 with puppet 4 (puppet-agent AIO):
echo "class { ::ssmtp: require_yum => false, authuser => "authuser", authpass=>"authpass", authmethod=>"authemthod", tlscert=>"tlscert", tlskey=>"tlskey", tlscafile=>"tlscafile", tlscadir=>"tlscadir" }" | /opt/puppetlabs/bin/puppet apply
Add ssmpt.conf AuthUser, AuthPass, AuthMethod, TLSCert, TLSKey, TLS_CA_File and TLS_CA_Dir as class parameters.
Add a new param require_yum to have the ability to disable the "require yum" as needed.
The ssmtp.conf file should not be world-readable as it could contain credentils.
Tested on CentOS 6 with puppet 4 (puppet-agent AIO):
echo "class { ::ssmtp: require_yum => false, authuser => "authuser", authpass=>"authpass", authmethod=>"authemthod", tlscert=>"tlscert", tlskey=>"tlskey", tlscafile=>"tlscafile", tlscadir=>"tlscadir" }" | /opt/puppetlabs/bin/puppet apply