|
|
e3c68b |
From 1f28e008825ae291208a9e6c714dd642f715a2a1 Mon Sep 17 00:00:00 2001
|
|
|
e3c68b |
From: "Bala.FA" <barumuga@redhat.com>
|
|
|
e3c68b |
Date: Mon, 7 Apr 2014 15:24:10 +0530
|
|
|
e3c68b |
Subject: [PATCH 06/52] build: remove ghost directory entries
|
|
|
e3c68b |
|
|
|
e3c68b |
ovirt requires hook directories for gluster management and ghost
|
|
|
e3c68b |
directories are no more ghost entries
|
|
|
e3c68b |
|
|
|
e3c68b |
Label: DOWNSTREAM ONLY
|
|
|
e3c68b |
|
|
|
e3c68b |
Change-Id: Iaf1066ba0655619024f87eaaa039f0010578c567
|
|
|
e3c68b |
Signed-off-by: Bala.FA <barumuga@redhat.com>
|
|
|
e3c68b |
Reviewed-on: https://code.engineering.redhat.com/gerrit/60133
|
|
|
e3c68b |
Tested-by: Milind Changire <mchangir@redhat.com>
|
|
|
e3c68b |
---
|
|
|
e3c68b |
glusterfs.spec.in | 19 +++++++++++++++++--
|
|
|
e3c68b |
1 file changed, 17 insertions(+), 2 deletions(-)
|
|
|
e3c68b |
|
|
|
e3c68b |
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
|
|
|
e3c68b |
index f5c1f79..6be492e 100644
|
|
|
e3c68b |
--- a/glusterfs.spec.in
|
|
|
e3c68b |
+++ b/glusterfs.spec.in
|
|
|
e3c68b |
@@ -799,15 +799,30 @@ install -D -p -m 0644 extras/glusterfs-logrotate \
|
|
|
e3c68b |
%{buildroot}%{_sysconfdir}/logrotate.d/glusterfs
|
|
|
e3c68b |
|
|
|
e3c68b |
%if ( 0%{!?_without_georeplication:1} )
|
|
|
e3c68b |
-# geo-rep ghosts
|
|
|
e3c68b |
mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/geo-replication
|
|
|
e3c68b |
touch %{buildroot}%{_sharedstatedir}/glusterd/geo-replication/gsyncd_template.conf
|
|
|
e3c68b |
install -D -p -m 0644 extras/glusterfs-georep-logrotate \
|
|
|
e3c68b |
%{buildroot}%{_sysconfdir}/logrotate.d/glusterfs-georep
|
|
|
e3c68b |
%endif
|
|
|
e3c68b |
|
|
|
e3c68b |
+%if ( 0%{!?_without_syslog:1} )
|
|
|
e3c68b |
+%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
|
|
|
e3c68b |
+install -D -p -m 0644 extras/gluster-rsyslog-7.2.conf \
|
|
|
e3c68b |
+ %{buildroot}%{_sysconfdir}/rsyslog.d/gluster.conf.example
|
|
|
e3c68b |
+%endif
|
|
|
e3c68b |
+
|
|
|
e3c68b |
+%if ( 0%{?rhel} && 0%{?rhel} == 6 )
|
|
|
e3c68b |
+install -D -p -m 0644 extras/gluster-rsyslog-5.8.conf \
|
|
|
e3c68b |
+ %{buildroot}%{_sysconfdir}/rsyslog.d/gluster.conf.example
|
|
|
e3c68b |
+%endif
|
|
|
e3c68b |
+
|
|
|
e3c68b |
+%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
|
|
|
e3c68b |
+install -D -p -m 0644 extras/logger.conf.example \
|
|
|
e3c68b |
+ %{buildroot}%{_sysconfdir}/glusterfs/logger.conf.example
|
|
|
e3c68b |
+%endif
|
|
|
e3c68b |
+%endif
|
|
|
e3c68b |
+
|
|
|
e3c68b |
%if ( 0%{!?_without_server:1} )
|
|
|
e3c68b |
-# the rest of the ghosts
|
|
|
e3c68b |
touch %{buildroot}%{_sharedstatedir}/glusterd/glusterd.info
|
|
|
e3c68b |
touch %{buildroot}%{_sharedstatedir}/glusterd/options
|
|
|
e3c68b |
subdirs=(add-brick create copy-file delete gsync-create remove-brick reset set start stop)
|
|
|
e3c68b |
--
|
|
|
e3c68b |
1.8.3.1
|
|
|
e3c68b |
|