summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2012-09-17 15:19:58 +0530
committerVijay Bellur <vbellur@redhat.com>2012-12-12 00:15:29 -0500
commit7f92dec8c4049727d7d47484d9ee3c8f6313ce94 (patch)
tree86b5f36bda86bb3eb4838d1211eb3b2d4055693e /glusterfs.spec.in
parent48c1f5c73a5dad514cb239f4a6657c3f085c597a (diff)
group-virt: virt template file added
Change-Id: Ic124e44c3d3068d78e075c9a66ead9ab66ecb241 Signed-off-by: Amar Tumballi <amar@gluster.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/1865 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 09ea4fcafbd..484abd852ef 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -326,6 +326,11 @@ if [ -d /var/lib/glusterd/vols ]; then
done
fi
+# Need to copy the file.
+
+mkdir -p /var/lib/glusterd/groups
+cp %{_docdir}/%{name}-%{version}/group-virt.example /var/lib/glusterd/groups/virt
+
pidof -c -o %PPID -x glusterd &> /dev/null
if [ $? -eq 0 ]; then
kill -9 `pgrep -f gsyncd.py` &> /dev/null