From dd44a559d820c19f6df1cc66019fa8fb7cecb2c1 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Sat, 8 Mar 2014 01:06:22 -0500 Subject: Add support for volume set groups. This adds support for setting volume set groups which are groups of properties that are set all at once on a volume. This is managed in a clever way, so that if the definition of what a certain group contains gets updated by the package manager, your volumes will get updated too, on the next puppet run. --- manifests/simple.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'manifests/simple.pp') diff --git a/manifests/simple.pp b/manifests/simple.pp index 06cbc52..60e6ae4 100644 --- a/manifests/simple.pp +++ b/manifests/simple.pp @@ -43,6 +43,7 @@ class gluster::simple( # xfs_inode64 => true, # force => true, # } + $setgroup = '', # pick a volume property group to set, eg: virt $ping = true, # use fping or not? $baseport = '', # specify base port option as used in glusterd.vol file $rpcauthallowinsecure = false, # needed in some setups in glusterd.vol @@ -159,6 +160,7 @@ class gluster::simple( # the only semi-safe way is the new built in automatic collect: bricks => true, # automatic brick collection... ping => $ping, + setgroup => $setgroup, start => true, } Gluster::Volume <<||>> -- cgit