[Debian-ha-commits] [resource-agents] 01/03: debian/patches: fix ocft config for postgresql 10
Valentin Vidic
vvidic-guest at moszumanska.debian.org
Fri Feb 9 13:36:09 UTC 2018
This is an automated email from the git hooks/post-receive script.
vvidic-guest pushed a commit to branch master
in repository resource-agents.
commit 425c20838cfac5f7d102be9b03213d502beb98aa
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date: Fri Feb 9 14:15:57 2018 +0100
debian/patches: fix ocft config for postgresql 10
---
debian/patches/ocft-configs.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/debian/patches/ocft-configs.patch b/debian/patches/ocft-configs.patch
index c9ce258..2501450 100644
--- a/debian/patches/ocft-configs.patch
+++ b/debian/patches/ocft-configs.patch
@@ -103,3 +103,25 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
true
CASE-BLOCK required_args
+--- a/tools/ocft/pgsql
++++ b/tools/ocft/pgsql
+@@ -3,7 +3,7 @@
+ CONFIG
+ Agent pgsql
+ AgentRoot /usr/lib/ocf/resource.d/heartbeat
+- InstallPackage postgresql-server
++ InstallPackage postgresql
+ HangTimeout 20
+
+ SETUP-AGENT
+@@ -12,6 +12,10 @@
+
+ CASE-BLOCK crm_setting
+ Env OCF_RESKEY_CRM_meta_timeout=15000
++ Env OCF_RESKEY_pgctl=/usr/lib/postgresql/10/bin/pg_ctl
++ Env OCF_RESKEY_pgdata=/var/lib/postgresql/10/main
++ Env OCF_RESKEY_config=/etc/postgresql/10/main/postgresql.conf
++ Env OCF_RESKEY_socketdir=/var/run/postgresql
+
+ CASE-BLOCK default_status
+ AgentRun stop
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/resource-agents.git
More information about the Debian-HA-Commits
mailing list