summaryrefslogtreecommitdiffstats
path: root/manifests/simple.pp
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-03-08 01:06:22 -0500
committerJames Shubin <james@shubin.ca>2014-03-16 22:39:07 -0400
commitdd44a559d820c19f6df1cc66019fa8fb7cecb2c1 (patch)
tree3b04dfb85e78f6b79d826e05ff2cef8651b7b279 /manifests/simple.pp
parent2dd6acd1eeffbfdcf0436847ee115310198526f4 (diff)
downloadpuppet-gluster-dd44a559d820c19f6df1cc66019fa8fb7cecb2c1.tar.gz
puppet-gluster-dd44a559d820c19f6df1cc66019fa8fb7cecb2c1.tar.xz
puppet-gluster-dd44a559d820c19f6df1cc66019fa8fb7cecb2c1.zip
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.
Diffstat (limited to 'manifests/simple.pp')
-rw-r--r--manifests/simple.pp2
1 files changed, 2 insertions, 0 deletions
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 <<||>>