diff options
| -rw-r--r-- | extras/Makefile.am | 2 | ||||
| -rw-r--r-- | glusterfs.spec.in | 3 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am index 503c9d75c62..565f93ea7b1 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -6,7 +6,7 @@ EditorMode_DATA = glusterfs-mode.el glusterfs.vim  SUBDIRS = init.d benchmarking hook-scripts  confdir = $(sysconfdir)/glusterfs -conf_DATA = glusterfs-logrotate +conf_DATA = glusterfs-logrotate group-virt.example  EXTRA_DIST = specgen.scm MacOSX/Portfile glusterfs-mode.el glusterfs.vim  \  	migrate-unify-to-distribute.sh backend-xattr-sanitize.sh          \ diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 8a446dcaef1..2863e27e2d2 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -262,6 +262,7 @@ fi  %defattr(-,root,root)  %doc AUTHORS ChangeLog COPYING-GPLV2 COPYING-LGPLV3 INSTALL NEWS README THANKS  %config %{_sysconfdir}/glusterfs/glusterfs-logrotate +%config %{_sysconfdir}/glusterfs/group-virt.example  %{_libdir}/glusterfs  %{_libdir}/*.so.*  %{_sbindir}/glusterfs* @@ -330,7 +331,7 @@ fi  # Need to copy the file.  mkdir -p /var/lib/glusterd/groups -cp %{_docdir}/%{name}-%{version}/group-virt.example /var/lib/glusterd/groups/virt +cp %{_sysconfdir}/glusterfs/group-virt.example /var/lib/glusterd/groups/virt  pidof -c -o %PPID -x glusterd &> /dev/null  if [ $? -eq 0 ]; then  | 
