From 10f391fa424e491fe0b0eeb14db5ab812b3f5e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20FOUTREL?= Date: Wed, 17 Jan 2024 14:54:05 +0100 Subject: [PATCH] Update init.pp Adding variant type to be able to use string or Array for packages to be installed. --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index edce29e..f88e3dd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -172,7 +172,7 @@ String[1] $owner = 'unbound', String[1] $username = $owner, # OpenBSD sets this to an empty string - String $package_name = 'unbound', + Variant[String,Array] $package_name = 'unbound', String[1] $package_ensure = 'installed', Boolean $purge_unbound_conf_d = false, String[1] $root_hints_url = 'https://www.internic.net/domain/named.root',