path: root/
diff options
authorKrishnan Parthasarathi <>2012-08-20 21:34:26 +0530
committerAnand Avati <>2012-09-12 12:25:06 -0700
commit35d178dbd4ddb8c407e911823c850642563baa9f (patch)
tree07be45c363cfd6dcd3ece83e87e522b61c9ce529 /
parenta032de191ec32be363d1feedfbd839f6dbde2579 (diff)
cli: Added special key "group" for bulk volume set.
gluster volume set VOLNAME group group_name - where group_name is a file under /var/lib/glusterd/groups containing one key, value pair per line as below, key1=value1 key2=value2 [...] - the command sets key1 to value1 and so on. Change-Id: Ic4c8dedb98d013b29a74e57f8ee7c1d3573137d2 BUG: 851237 Signed-off-by: Krishnan Parthasarathi <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Amar Tumballi <> Reviewed-by: Anand Avati <>
Diffstat (limited to '')
1 files changed, 2 insertions, 0 deletions
diff --git a/ b/
index 49bf19c7..05eec2cc 100644
--- a/
+++ b/
@@ -244,6 +244,7 @@ touch %{buildroot}%{_sharedstatedir}/glusterd/
%{__mkdir_p} %{buildroot}%{_sharedstatedir}/glusterd/nfs
%{__mkdir_p} %{buildroot}%{_sharedstatedir}/glusterd/peers
%{__mkdir_p} %{buildroot}%{_sharedstatedir}/glusterd/vols
+%{__mkdir_p} %{buildroot}%{_sharedstatedir}/glusterd/groups
%if 0%{?_can_georeplicate}
%if 0%{!?_without_georeplication:1}
%{__mkdir_p} %{buildroot}%{_sharedstatedir}/glusterd/geo-replication
@@ -417,6 +418,7 @@ fi
%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/vols
%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/nfs
%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/peers
+%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/groups
%files devel