From 35d178dbd4ddb8c407e911823c850642563baa9f Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Mon, 20 Aug 2012 21:34:26 +0530 Subject: 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: http://review.gluster.org/3831 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Anand Avati --- glusterfs.spec.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 49bf19c7745..05eec2cc1f8 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -244,6 +244,7 @@ touch %{buildroot}%{_sharedstatedir}/glusterd/glusterd.info %{__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 %defattr(-,root,root,-) -- cgit