summaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/gluster-simple-example.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gluster-simple-example.pp b/examples/gluster-simple-example.pp
index a050343..02e59f3 100644
--- a/examples/gluster-simple-example.pp
+++ b/examples/gluster-simple-example.pp
@@ -10,6 +10,7 @@ node /^annex\d+$/ { # annex{1,2,..N}
# NOTE: this is mostly intended for fast gluster testing. for more
# complex setups, you might want to look at the other examples.
class { '::gluster::simple':
+ setgroup => 'virt', # or: 'small-file-perf', or others too!
}
}