- pgsqlms: new resource agent
Resolves: rhbz#1952005
This commit is contained in:
parent
9e7a0f5670
commit
7c24414a29
3338
bz1952005-pgsqlms-new-ra.patch
Normal file
3338
bz1952005-pgsqlms-new-ra.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -45,11 +45,12 @@
|
|||||||
Name: resource-agents
|
Name: resource-agents
|
||||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||||
Version: 4.8.0
|
Version: 4.8.0
|
||||||
Release: 3%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
Release: 4%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: https://github.com/ClusterLabs/resource-agents
|
URL: https://github.com/ClusterLabs/resource-agents
|
||||||
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
||||||
Patch0: ha-cloud-support-aws.patch
|
Patch0: ha-cloud-support-aws.patch
|
||||||
|
Patch1: bz1952005-pgsqlms-new-ra.patch
|
||||||
|
|
||||||
Obsoletes: heartbeat-resources <= %{version}
|
Obsoletes: heartbeat-resources <= %{version}
|
||||||
Provides: heartbeat-resources = %{version}
|
Provides: heartbeat-resources = %{version}
|
||||||
@ -67,6 +68,9 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# for pgsqlms
|
||||||
|
BuildRequires: perl-devel perl-English perl-FindBin
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
BuildRequires: ha-cloud-support
|
BuildRequires: ha-cloud-support
|
||||||
%endif
|
%endif
|
||||||
@ -128,6 +132,16 @@ A set of scripts to interface with several services to operate in a
|
|||||||
High Availability environment for both Pacemaker and rgmanager
|
High Availability environment for both Pacemaker and rgmanager
|
||||||
service managers.
|
service managers.
|
||||||
|
|
||||||
|
%package paf
|
||||||
|
License: PostgreSQL
|
||||||
|
Summary: PostgreSQL Automatic Failover (PAF) resource agent
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: perl-interpreter
|
||||||
|
|
||||||
|
%description paf
|
||||||
|
PostgreSQL Automatic Failover (PAF) resource agents allows PostgreSQL
|
||||||
|
databases to be managed in a cluster environment.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%if 0%{?suse_version} == 0 && 0%{?fedora} == 0 && 0%{?centos} == 0 && 0%{?rhel} == 0
|
%if 0%{?suse_version} == 0 && 0%{?fedora} == 0 && 0%{?centos} == 0 && 0%{?rhel} == 0
|
||||||
%{error:Unable to determine the distribution/version. This is generally caused by missing /etc/rpm/macros.dist. Please install the correct build packages or define the required macros manually.}
|
%{error:Unable to determine the distribution/version. This is generally caused by missing /etc/rpm/macros.dist. Please install the correct build packages or define the required macros manually.}
|
||||||
@ -135,6 +149,8 @@ exit 1
|
|||||||
%endif
|
%endif
|
||||||
%autosetup -n %{upstream_prefix}-%{upstream_version} -p1
|
%autosetup -n %{upstream_prefix}-%{upstream_version} -p1
|
||||||
|
|
||||||
|
chmod 755 heartbeat/pgsqlms
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -f configure ]; then
|
if [ ! -f configure ]; then
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -398,6 +414,11 @@ rm -rf %{buildroot}/usr/share/doc/resource-agents
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 2 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.8.0-4
|
||||||
|
- pgsqlms: new resource agent
|
||||||
|
|
||||||
|
Resolves: rhbz#1952005
|
||||||
|
|
||||||
* Mon May 17 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.8.0-3
|
* Mon May 17 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.8.0-3
|
||||||
- Remove redhat-lsb-core dependency (lsb_release)
|
- Remove redhat-lsb-core dependency (lsb_release)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user