summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2012-08-20 21:34:26 +0530
committerAnand Avati <avati@redhat.com>2012-09-12 12:25:06 -0700
commit35d178dbd4ddb8c407e911823c850642563baa9f (patch)
tree07be45c363cfd6dcd3ece83e87e522b61c9ce529 /glusterfs.spec.in
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 <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/3831 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in2
1 files changed, 2 insertions, 0 deletions
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,-)