31
32
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
|
# File 'manifests/config/email.pp', line 31
class nexus::config::email (
Boolean $enabled = false,
Stdlib::Host $host = 'localhost',
Stdlib::Port $port = 25,
String $username = '',
Optional[String] $password = undef,
String[1] $from_address = 'nexus@example.org',
String $subject_prefix = '',
Boolean $start_tls_enabled = false,
Boolean $start_tls_required = false,
Boolean $ssl_on_connect_enabled = false,
Boolean $ssl_server_identity_check_enabled = false,
Boolean $nexus_trust_store_enabled = false,
) {
nexus_setting { 'email':
attributes => {
'enabled' => $enabled,
'host' => $host,
'port' => $port,
'username' => $username,
'password' => $password,
'fromAddress' => $from_address,
'subjectPrefix' => $subject_prefix,
'startTlsEnabled' => $start_tls_enabled,
'startTlsRequired' => $start_tls_required,
'sslOnConnectEnabled' => $ssl_on_connect_enabled,
'sslServerIdentityCheckEnabled' => $ssl_server_identity_check_enabled,
'nexusTrustStoreEnabled' => $nexus_trust_store_enabled,
},
}
}
|