|
6 | 6 | String[1] $database_host, |
7 | 7 | String[1] $database_name, |
8 | 8 | Variant[String[1], Sensitive[String[8]]] $database_password, |
9 | | - Optional[String[1]] $database_port, |
| 9 | + Optional[Stdlib::Port::Unprivileged] $database_port, |
10 | 10 | Optional[String[1]] $database_schema, |
11 | 11 | Optional[String[1]] $database_socket, |
12 | 12 | Optional[Stdlib::Absolutepath] $database_tlscafile, |
|
32 | 32 | String[1] $loadmodulepath, |
33 | 33 | Optional[Stdlib::Absolutepath] $logfile, |
34 | 34 | String[1] $logfilesize, |
35 | | - Integer $logslowqueries, |
| 35 | + Variant[Integer,String[1]] $logslowqueries, |
36 | 36 | Enum['console', 'file', 'system'] $logtype, |
37 | 37 | String[1] $maxhousekeeperdelete, |
38 | 38 | String[1] $pidfile, |
|
53 | 53 | String[1] $startipmipollers, |
54 | 54 | String[1] $startjavapollers, |
55 | 55 | Integer[1,100] $startlldprocessors, |
56 | | - Integer $startpingers, |
| 56 | + Variant[Integer, String[1]] $startpingers, |
57 | 57 | Variant[Integer, String[1]] $startpollers, |
58 | 58 | Variant[Integer, String[1]] $startpollersunreachable, |
59 | 59 | Integer[1, 1000] $startpreprocessors, |
60 | 60 | Variant[Integer, String[1]] $startproxypollers, |
61 | | - Optional[String[1]] $startreportwriters, |
| 61 | + Optional[Integer] $startreportwriters, |
62 | 62 | Variant[Integer, String[1]] $startsnmptrapper, |
63 | 63 | Variant[Integer, String[1]] $starttimers, |
64 | 64 | Variant[Integer, String[1]] $starttrappers, |
@@ -714,7 +714,7 @@ LoadModulePath=<%= $loadmodulepath %> |
714 | 714 | <% if $tlscipherall { %>TLSCipherAll=<%= $tlscipherall %><% } -%> |
715 | 715 | <% } -%> |
716 | 716 |
|
717 | | -<% if versioncmp($zabbix_version,'6.2') >= 0 { -%> |
| 717 | +<% if versioncmp($zabbix_version,'5.2') >= 0 { -%> |
718 | 718 | ### Option: VaultToken |
719 | 719 | # Vault authentication token that should have been generated exclusively for Zabbix server with read only permission |
720 | 720 | # to paths specified in Vault macros and read only permission to path specified in optional VaultDBPath |
|
0 commit comments