Shirly Radco has uploaded a new change for review.

Change subject: reports: fixed centos install with ovirt provided jboss
......................................................................

reports: fixed centos install with ovirt provided jboss

Change-Id: Ie049ed840c523a6e43524186ef39c1c32adfefcd
Signed-off-by: Shirly Radco <sra...@redhat.com>
---
M ovirt-engine-reports.spec.in
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/12/30112/1

diff --git a/ovirt-engine-reports.spec.in b/ovirt-engine-reports.spec.in
index a7d580d..9ecf5a5 100644
--- a/ovirt-engine-reports.spec.in
+++ b/ovirt-engine-reports.spec.in
@@ -15,6 +15,7 @@
 %global java_devel java7-devel
 %global ovirt_install_systemd 0
 %global ovirt_install_systemv 1
+%global ovirt_provides_jboss 1
 %global jboss ovirt-engine-jboss-as >= 7.1.1
 %endif
 
@@ -199,6 +200,13 @@
 fi
 %endif
 
+%if %{ovirt_provides_jboss}
+cat > 
"%{buildroot}%{_sysconfdir}/ovirt-engine-setup.conf.d/10-packaging-jboss-reports.conf"
 << __EOF__
+[environment:default]
+OVESETUP_CONFIG/jbossHome=str:/usr/share/ovirt-engine-jboss-as
+__EOF__
+%endif
+
 %postun
 %if %{ovirt_install_systemd}
 %systemd_postun ovirt-engine-reportsd.service
@@ -232,6 +240,10 @@
 %{_datadir}/ovirt-engine/setup/plugins/*/ovirt-engine-reports/
 %{_datadir}/ovirt-engine/firewalld/reports/
 
+%if %{ovirt_provides_jboss}
+%config 
%{_sysconfdir}/ovirt-engine-setup.conf.d/10-packaging-jboss-reports.conf
+%endif
+
 %changelog
 * Sun Jul 13 2014 Shirly Radco <sra...@redhat.com> - 3.5.0
 Fixed issues:


-- 
To view, visit http://gerrit.ovirt.org/30112
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie049ed840c523a6e43524186ef39c1c32adfefcd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
Gerrit-Owner: Shirly Radco <sra...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to