File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 305
305
$cachesize = $zabbix::params::server_cachesize,
306
306
$cacheupdatefrequency = $zabbix::params::server_cacheupdatefrequency,
307
307
$startdbsyncers = $zabbix::params::server_startdbsyncers,
308
- Optional[String] $smsdevices = $zabbix::params::server_smsdevices,
308
+ Optional[Array[ String[1]]] $smsdevices = $zabbix::params::server_smsdevices,
309
309
$historycachesize = $zabbix::params::server_historycachesize,
310
310
Zabbix::Historyics $historyindexcachesize = $zabbix::params::server_historyindexcachesize,
311
311
$trendcachesize = $zabbix::params::server_trendcachesize,
Original file line number Diff line number Diff line change @@ -962,7 +962,8 @@ LoadModulePath=<%= @loadmodulepath %>
962
962
# Mandatory: no
963
963
# Default:
964
964
# SMSDevices=
965
- <% if @smsdevices -%> SMSDevices=<%= @smsdevices %> <% end %>
965
+ <% if @smsdevices . any? -%>
966
+ SMSDevices=<%= @smsdevices . join ( ',' ) %>
966
967
<% end %>
967
968
968
969
<% if @zabbix_version . to_f >= 5.4 %>
You can’t perform that action at this time.
0 commit comments