Blame SOURCES/7-gcp-bundled.patch

f065e8
diff --color -uNr a/heartbeat/gcp-vpc-move-ip.in b/heartbeat/gcp-vpc-move-ip.in
f065e8
--- a/heartbeat/gcp-vpc-move-ip.in	2022-06-16 09:45:21.419090782 +0200
f065e8
+++ b/heartbeat/gcp-vpc-move-ip.in	2022-06-16 10:11:22.978648598 +0200
05afe3
@@ -36,7 +36,7 @@
05afe3
 . ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs
05afe3
 
05afe3
 # Defaults
05afe3
-OCF_RESKEY_gcloud_default="/usr/bin/gcloud"
05afe3
+OCF_RESKEY_gcloud_default="/usr/bin/gcloud-ra"
05afe3
 OCF_RESKEY_configuration_default="default"
05afe3
 OCF_RESKEY_vpc_network_default="default"
05afe3
 OCF_RESKEY_interface_default="eth0"
f065e8
diff --color -uNr a/heartbeat/gcp-vpc-move-route.in b/heartbeat/gcp-vpc-move-route.in
f065e8
--- a/heartbeat/gcp-vpc-move-route.in	2022-06-16 09:45:21.420090788 +0200
f065e8
+++ b/heartbeat/gcp-vpc-move-route.in	2022-06-16 10:11:22.978648598 +0200
3efa9f
@@ -45,6 +45,7 @@
05afe3
 from ocf import *
05afe3
 
05afe3
 try:
05afe3
+  sys.path.insert(0, '/usr/lib/resource-agents/bundled/gcp')
05afe3
   import googleapiclient.discovery
05afe3
   import pyroute2
f065e8
   try:
f065e8
diff --color -uNr a/heartbeat/gcp-vpc-move-vip.in b/heartbeat/gcp-vpc-move-vip.in
f065e8
--- a/heartbeat/gcp-vpc-move-vip.in	2022-06-16 09:45:21.420090788 +0200
f065e8
+++ b/heartbeat/gcp-vpc-move-vip.in	2022-06-16 10:11:22.979648603 +0200
f065e8
@@ -29,6 +29,7 @@
f065e8
 from ocf import *
f065e8
 
f065e8
 try:
f065e8
+  sys.path.insert(0, '/usr/lib/resource-agents/bundled/gcp')
f065e8
   import googleapiclient.discovery
f065e8
   try:
f065e8
     from google.oauth2.service_account import Credentials as ServiceAccountCredentials