- cloud agents: set support library path
- pgsqlms: add to -paf subpackage
This commit is contained in:
parent
875f38afa0
commit
1d8880cceb
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,4 +1,2 @@
|
|||||||
/ClusterLabs-resource-agents-*.tar.gz
|
/*
|
||||||
/resource-agents-*.src.rpm
|
!/*.patch
|
||||||
/.build-*.log
|
|
||||||
/*/
|
|
||||||
|
12
ha-cloud-support-aliyun.patch
Normal file
12
ha-cloud-support-aliyun.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --color -uNr a/heartbeat/aliyun-vpc-move-ip b/heartbeat/aliyun-vpc-move-ip
|
||||||
|
--- a/heartbeat/aliyun-vpc-move-ip 2021-08-19 09:37:57.000000000 +0200
|
||||||
|
+++ b/heartbeat/aliyun-vpc-move-ip 2021-08-25 13:38:26.786626079 +0200
|
||||||
|
@@ -17,7 +17,7 @@
|
||||||
|
OCF_RESKEY_interface_default="eth0"
|
||||||
|
OCF_RESKEY_profile_default="default"
|
||||||
|
OCF_RESKEY_endpoint_default="vpc.aliyuncs.com"
|
||||||
|
-OCF_RESKEY_aliyuncli_default="detect"
|
||||||
|
+OCF_RESKEY_aliyuncli_default="/usr/lib/fence-agents/support/aliyun/aliyun-cli/aliyun"
|
||||||
|
|
||||||
|
|
||||||
|
: ${OCF_RESKEY_address=${OCF_RESKEY_address_default}}
|
33
ha-cloud-support-gcloud.patch
Normal file
33
ha-cloud-support-gcloud.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
diff --color -uNr a/heartbeat/gcp-pd-move.in b/heartbeat/gcp-pd-move.in
|
||||||
|
--- a/heartbeat/gcp-pd-move.in 2021-08-19 09:37:57.000000000 +0200
|
||||||
|
+++ b/heartbeat/gcp-pd-move.in 2021-08-25 13:50:54.461732967 +0200
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
from ocf import logger
|
||||||
|
|
||||||
|
try:
|
||||||
|
+ sys.path.insert(0, "/usr/lib/fence-agents/support/google/lib/python#PYTHON3_VERSION#/site-packages")
|
||||||
|
import googleapiclient.discovery
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
diff --color -uNr a/heartbeat/gcp-vpc-move-route.in b/heartbeat/gcp-vpc-move-route.in
|
||||||
|
--- a/heartbeat/gcp-vpc-move-route.in 2021-08-19 09:37:57.000000000 +0200
|
||||||
|
+++ b/heartbeat/gcp-vpc-move-route.in 2021-08-25 13:51:17.489797999 +0200
|
||||||
|
@@ -45,6 +45,7 @@
|
||||||
|
from ocf import *
|
||||||
|
|
||||||
|
try:
|
||||||
|
+ sys.path.insert(0, "/usr/lib/fence-agents/support/google/lib/python#PYTHON3_VERSION#/site-packages")
|
||||||
|
import googleapiclient.discovery
|
||||||
|
import pyroute2
|
||||||
|
try:
|
||||||
|
diff --color -uNr a/heartbeat/gcp-vpc-move-vip.in b/heartbeat/gcp-vpc-move-vip.in
|
||||||
|
--- a/heartbeat/gcp-vpc-move-vip.in 2021-08-19 09:37:57.000000000 +0200
|
||||||
|
+++ b/heartbeat/gcp-vpc-move-vip.in 2021-08-25 13:51:35.012847487 +0200
|
||||||
|
@@ -29,6 +29,7 @@
|
||||||
|
from ocf import *
|
||||||
|
|
||||||
|
try:
|
||||||
|
+ sys.path.insert(0, "/usr/lib/fence-agents/support/google/lib/python#PYTHON3_VERSION#/site-packages")
|
||||||
|
import googleapiclient.discovery
|
||||||
|
try:
|
||||||
|
from google.oauth2.service_account import Credentials as ServiceAccountCredentials
|
3367
pgsqlms-ra.patch
Normal file
3367
pgsqlms-ra.patch
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user