From c2cfd73ebcbcceadbee1d2253551066195f85b3e Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Jul 25 2016 22:00:25 +0000 Subject: Install rabbitmq-server-ha agent --- diff --git a/rabbitmq-server.spec b/rabbitmq-server.spec index 6b65f2b..016de13 100644 --- a/rabbitmq-server.spec +++ b/rabbitmq-server.spec @@ -5,7 +5,7 @@ Name: rabbitmq-server Version: 3.6.3 -Release: 5%{?dist} +Release: 6%{?dist} License: MPLv1.1 Group: Development/Libraries Source0: http://www.rabbitmq.com/releases/rabbitmq-server/v%{version}/%{name}-%{version}.tar.xz @@ -109,6 +109,7 @@ for app in rabbitmq-defaults rabbitmq-env rabbitmq-plugins rabbitmq-server rabbi done install -p -D -m 0755 scripts/rabbitmq-server.ocf %{buildroot}%{_exec_prefix}/lib/ocf/resource.d/rabbitmq/rabbitmq-server +install -p -D -m 0755 scripts/rabbitmq-server-ha.ocf %{buildroot}%{_exec_prefix}/lib/ocf/resource.d/rabbitmq/rabbitmq-server-ha install -p -D -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/logrotate.d/rabbitmq-server @@ -173,6 +174,7 @@ done # FIXME this should add dependency on "/usr/lib/ocf/resource.d/" owner %dir /usr/lib/ocf/resource.d/rabbitmq/ /usr/lib/ocf/resource.d/rabbitmq/rabbitmq-server +/usr/lib/ocf/resource.d/rabbitmq/rabbitmq-server-ha %{_tmpfilesdir}/%{name}.conf %dir %attr(0750, rabbitmq, rabbitmq) %{_localstatedir}/lib/rabbitmq %dir %attr(0750, rabbitmq, rabbitmq) %{_localstatedir}/log/rabbitmq @@ -185,6 +187,9 @@ done %changelog +* Mon Jul 25 2016 John Eckersberg - 3.6.3-6 +- Install rabbitmq-server-ha agent + * Fri Jul 22 2016 Peter Lemenkov - 3.6.3-5 - Don't die while retrieving status from faulty node