Skip to content

Commit b4a998b

Browse files
authored
Merge pull request #119 from ntnn/fix/types
Fix/types: Fix signature of gluster::volume
2 parents 5c2e385 + bfc12dd commit b4a998b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

manifests/volume.pp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,16 @@
4040
# Copyright 2014 CoverMyMeds, unless otherwise noted
4141
#
4242
define gluster::volume (
43+
Array[String, 1] $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,
51-
Optional[Integer] $replica = false,
52+
Optional[Integer] $replica = undef,
5253
) {
5354

5455
if $force {

0 commit comments

Comments
 (0)