33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# File 'manifests/init.pp', line 33
class ssmtp (
$default_mta = $ssmtp::params::default_mta,
$root_email = $ssmtp::params::root_email,
$mail_hub = $ssmtp::params::mail_hub,
$revaliases = $ssmtp::params::revaliases,
$from_line_override = $ssmtp::params::from_line_override,
$hostname = undef,
$rewritedomain = undef,
$authuser = undef,
$authpass = undef,
$authmethod = undef,
$usetls = undef,
$usestarttls = undef,
$tlscert = undef,
$tlskey = undef,
$tlscafile = undef,
$tlscadir = undef,
$ssmtp_conf_mode = $ssmtp::params::ssmtp_conf_mode,
$ssmtp_conf_owner = $ssmtp::params::ssmtp_conf_owner,
$ssmtp_conf_group = $ssmtp::params::ssmtp_conf_group,
$revaliases_conf_mode = $ssmtp::params::revaliases_conf_mode,
$revaliases_conf_owner = $ssmtp::params::revaliases_conf_owner,
$revaliases_conf_group = $ssmtp::params::revaliases_conf_group
) inherits ssmtp::params {
# Start workflow
if $ssmtp::params::supported {
class{ '::ssmtp::package': }
-> class{ '::ssmtp::config': }
-> class{ '::ssmtp::service': }
-> Class['ssmtp']
}
else {
warning('The current operating system is not supported!')
}
}
|