Skip to content

Commit fe0e321

Browse files
committed
Array cannot hold undef, produces unclear error message
1 parent 38514a6 commit fe0e321

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/volume.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@
4040
# Copyright 2014 CoverMyMeds, unless otherwise noted
4141
#
4242
define gluster::volume (
43+
Array $bricks,
44+
4345
Boolean $force = false,
4446
Enum['tcp', 'rdma', 'tcp,rdma'] $transport = 'tcp',
4547
Boolean $rebalance = true,
4648
Boolean $heal = true,
47-
Array $bricks = undef,
4849
Boolean $remove_options = false,
4950
Optional[Array] $options = undef,
5051
Optional[Integer] $stripe = undef,

0 commit comments

Comments
 (0)