summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2012-07-27 19:55:20 -0400
committerJames Shubin <james@shubin.ca>2012-07-27 19:55:20 -0400
commitab471b49d7f8740177b399f3146c57668a5509b1 (patch)
treef696daed6794d8f648429b9b9d8a801b5a325e76 /examples
parent00c004343a0d40ec3c12ab0285dac6eb45533732 (diff)
downloadpuppet-gluster-ab471b49d7f8740177b399f3146c57668a5509b1.tar.gz
puppet-gluster-ab471b49d7f8740177b399f3146c57668a5509b1.tar.xz
puppet-gluster-ab471b49d7f8740177b399f3146c57668a5509b1.zip
Set volume properties.
Diffstat (limited to 'examples')
-rw-r--r--examples/distributed-replicate.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/distributed-replicate.pp b/examples/distributed-replicate.pp
index 86ff109..cb73db9 100644
--- a/examples/distributed-replicate.pp
+++ b/examples/distributed-replicate.pp
@@ -136,6 +136,15 @@ class gluster_base {
start => undef, # i'll start this myself
}
+ # namevar must be: <VOLNAME>#<KEY>
+ gluster::volume::property { 'examplevol#auth.reject':
+ value => '192.0.2.13,198.51.100.42,203.0.113.69',
+ }
+
+ #gluster::volume::property { 'examplevol#cluster.data-self-heal-algorithm':
+ # value => 'full',
+ #}
+
#gluster::volume { 'someothervol':
# replica => 2,
# bricks => $brick_list,