Skip to content

Commit 49ec797

Browse files
authored
Added Hash as acceptable type for physical_volumes
The line 11 checks if is_hash and that condition can't apply if the only acceptable type are Array and String The error I got and that is fixed is: parameter 'physical_volumes' expects a value of type Array or String, got Struct at ...
1 parent ae52fdb commit 49ec797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/volume_group.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# == Define: lvm::volume_group
22
#
33
define lvm::volume_group (
4-
Variant[Array, String] $physical_volumes,
4+
Variant[Hash, Array, String] $physical_volumes,
55
Boolean $createonly = false,
66
Enum['present', 'absent'] $ensure = present,
77
Hash $logical_volumes = {},

0 commit comments

Comments
 (0)