From 896bab6b584bb1162b25f8955903c9af810917a4 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sun, 8 Jun 2025 12:32:47 +0200 Subject: [PATCH 1/2] fix data type --- manifests/params.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index e9c3c2e..2d7a654 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -3,7 +3,7 @@ # Author: Arne Teuke (arne_teuke@confdroid.com) # @summary Class holds all parameters for the clamav_cd module and is # inherited by all classes except defines. -# @param [String] reqpackages List of packages to install. +# @param [Array] reqpackages List of packages to install. # @param [String] pkg_ensure # which [package type](https://confdroid.com/2017/05/puppet-type-package/) # to choose, i.e. `latest` or `present`. @@ -29,7 +29,7 @@ class clamav_cd::params ( # installation - String $reqpackages = ['clamav','clamav-update','clamd'], + Array $reqpackages = ['clamav','clamav-update','clamd'], String $pkg_ensure = 'present', # clamd From 3ff7c4463efefe43bc7e76017c3cccd566a706a1 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 8 Jun 2025 12:33:41 +0200 Subject: [PATCH 2/2] Recommit for updates in build 5 --- doc/puppet_classes/clamav_cd_3A_3Aparams.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/puppet_classes/clamav_cd_3A_3Aparams.html b/doc/puppet_classes/clamav_cd_3A_3Aparams.html index 1332fa8..5519125 100644 --- a/doc/puppet_classes/clamav_cd_3A_3Aparams.html +++ b/doc/puppet_classes/clamav_cd_3A_3Aparams.html @@ -112,7 +112,7 @@ inherited by all classes except defines. reqpackages - (String) + (Array) (defaults to: ['clamav','clamav-update','clamd']) @@ -395,7 +395,7 @@ inherited by all classes except defines. class clamav_cd::params ( # installation - String $reqpackages = ['clamav','clamav-update','clamd'], + Array $reqpackages = ['clamav','clamav-update','clamd'], String $pkg_ensure = 'present', # clamd