OP#547 change string to array
This commit is contained in:
@@ -4,14 +4,15 @@
|
||||
# @summary Class manages all parameters for the confdroid_automatic module
|
||||
# @param [String] ac_reqpackages which packages to install
|
||||
# @param [String] ac_pkg_ensure which version of packages to install
|
||||
# @param [String] ac_upgrade_type what upgrades to manage
|
||||
# @param [String] ac_upgrade_type what upgrades to manage. Can be
|
||||
# 'default', 'security', 'minimal' or 'all'
|
||||
# @param [String] ac_random_sleep random sleep seconds
|
||||
# @param [String] ac_network_online_timeout Maximum time until be online
|
||||
# @param [String] ac_download_updates whether to download available updates
|
||||
# @param [String] ac_apply_updates whether to apply available updates
|
||||
# @param [String] ac_reboot when to reboot after applied updates
|
||||
# @param [String] ac_emit_via how to inform about emitted updates
|
||||
# @param [String] ac_email_to where to send the email to
|
||||
# @param [Array[String]] ac_email_to where to send the email to
|
||||
# @param [String] ac_email_host which host to use to send the email
|
||||
##############################################################################
|
||||
class confdroid_automatic::params (
|
||||
@@ -27,7 +28,7 @@ class confdroid_automatic::params (
|
||||
String $ac_apply_updates = 'yes',
|
||||
String $ac_reboot = 'never',
|
||||
String $ac_emit_via = 'email',
|
||||
String $ac_email_to = 'root@example.net',
|
||||
Array[String] $ac_email_to = ['root@example.net','ops@example.net'],
|
||||
String $ac_email_host = 'localhost',
|
||||
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user