Blame SOURCES/7-gcp-bundled.patch

b4b3ce
diff -uNr a/heartbeat/gcp-vpc-move-ip.in b/heartbeat/gcp-vpc-move-ip.in
b4b3ce
--- a/heartbeat/gcp-vpc-move-ip.in	2019-04-05 09:20:26.164739897 +0200
b4b3ce
+++ b/heartbeat/gcp-vpc-move-ip.in	2019-04-05 09:21:01.331139742 +0200
b4b3ce
@@ -36,7 +36,7 @@
b4b3ce
 . ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs
b4b3ce
 
b4b3ce
 # Defaults
b4b3ce
-OCF_RESKEY_gcloud_default="/usr/bin/gcloud"
b4b3ce
+OCF_RESKEY_gcloud_default="/usr/bin/gcloud-ra"
b4b3ce
 OCF_RESKEY_configuration_default="default"
b4b3ce
 OCF_RESKEY_vpc_network_default="default"
b4b3ce
 OCF_RESKEY_interface_default="eth0"
b4b3ce
diff -uNr a/heartbeat/gcp-vpc-move-route.in b/heartbeat/gcp-vpc-move-route.in
f20d0d
--- a/heartbeat/gcp-vpc-move-route.in	2019-04-05 09:20:26.180739624 +0200
f20d0d
+++ b/heartbeat/gcp-vpc-move-route.in	2019-04-05 09:22:28.648649593 +0200
f20d0d
@@ -45,6 +45,7 @@
b4b3ce
 from ocf import *
b4b3ce
 
b4b3ce
 try:
b4b3ce
+  sys.path.insert(0, '/usr/lib/resource-agents/bundled/gcp')
b4b3ce
   import googleapiclient.discovery
b4b3ce
   import pyroute2
b4b3ce
 except ImportError: