Skip to content

Commit f5bb8ba

Browse files
sfoutrelb4ldr
authored andcommitted
Update init.pp
Adding variant type to be able to use string or Array for packages to be installed.
1 parent 4084964 commit f5bb8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
String[1] $owner = 'unbound',
178178
String[1] $username = $owner,
179179
# OpenBSD sets this to an empty string
180-
String $package_name = 'unbound',
180+
Variant[String,Array] $package_name = 'unbound',
181181
String[1] $package_ensure = 'installed',
182182
Boolean $purge_unbound_conf_d = false,
183183
String[1] $root_hints_url = 'https://www.internic.net/domain/named.root',

0 commit comments

Comments
 (0)