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