diff options
author | James Shubin <james@shubin.ca> | 2014-03-08 01:06:22 -0500 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-03-16 22:39:07 -0400 |
commit | dd44a559d820c19f6df1cc66019fa8fb7cecb2c1 (patch) | |
tree | 3b04dfb85e78f6b79d826e05ff2cef8651b7b279 /manifests/simple.pp | |
parent | 2dd6acd1eeffbfdcf0436847ee115310198526f4 (diff) | |
download | puppet-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.pp | 2 |
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 <<||>> |