17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# File 'manifests/resources/agent.pp', line 17
class zabbix::resources::agent (
$hostname = undef,
$ipaddress = undef,
$use_ip = undef,
$port = undef,
Array[String[1]] $groups = undef,
$group_create = undef,
$templates = undef,
$macros = undef,
$proxy = undef,
$interfacetype = 1,
Variant[Array, Hash] $interfacedetails = [],
Optional[Enum['unencrypted','psk','cert']] $tls_connect = undef,
Optional[Enum['unencrypted','psk','cert']] $tls_accept = undef,
Optional[String[1]] $tls_issuer = undef,
Optional[String[1]] $tls_subject = undef,
) {
@@zabbix_host { $hostname:
ipaddress => $ipaddress,
use_ip => $use_ip,
port => $port,
groups => $groups,
group_create => $group_create,
templates => $templates,
macros => $macros,
proxy => $proxy,
interfacetype => $interfacetype,
interfacedetails => $interfacedetails,
tls_connect => $tls_connect,
tls_accept => $tls_accept,
tls_issuer => $tls_issuer,
tls_subject => $tls_subject,
}
}
|