Blame SOURCES/7-gcp-bundled.patch

05afe3
diff -uNr a/heartbeat/gcp-vpc-move-ip.in b/heartbeat/gcp-vpc-move-ip.in
914f09
--- a/heartbeat/gcp-vpc-move-ip.in	2019-04-05 09:20:26.164739897 +0200
914f09
+++ b/heartbeat/gcp-vpc-move-ip.in	2019-04-05 09:21:01.331139742 +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"
83967c
diff -uNr a/heartbeat/gcp-vpc-move-vip.in b/heartbeat/gcp-vpc-move-vip.in
83967c
--- a/heartbeat/gcp-vpc-move-vip.in	2020-06-25 13:21:42.090334894 +0200
83967c
+++ b/heartbeat/gcp-vpc-move-vip.in	2020-06-25 13:14:16.668092817 +0200
83967c
@@ -28,6 +28,7 @@
83967c
 from ocf import *
83967c
 
83967c
 try:
83967c
+  sys.path.insert(0, '/usr/lib/resource-agents/bundled/gcp/google-cloud-sdk/lib/third_party')
83967c
   import googleapiclient.discovery
83967c
 except ImportError:
83967c
   pass
05afe3
diff -uNr a/heartbeat/gcp-vpc-move-route.in b/heartbeat/gcp-vpc-move-route.in
83967c
--- a/heartbeat/gcp-vpc-move-route.in	2020-06-25 13:22:03.216301380 +0200
83967c
+++ b/heartbeat/gcp-vpc-move-route.in	2020-06-25 13:13:19.864183380 +0200
83967c
@@ -45,6 +45,8 @@
05afe3
 from ocf import *
05afe3
 
05afe3
 try:
05afe3
+  sys.path.insert(0, '/usr/lib/resource-agents/bundled/gcp')
83967c
+  sys.path.insert(0, '/usr/lib/resource-agents/bundled/gcp/google-cloud-sdk/lib/third_party')
05afe3
   import googleapiclient.discovery
05afe3
   import pyroute2
05afe3
 except ImportError: