29 lines
742 B
Diff
29 lines
742 B
Diff
From 142af55450aa91fe2d7fc3586388efebae64af97 Mon Sep 17 00:00:00 2001
|
|
From: Don Penney <don.penney@windriver.com>
|
|
Date: Tue, 3 May 2016 21:53:21 -0400
|
|
Subject: [PATCH 1/1] Create /var/run/resource-agents, if needed
|
|
|
|
---
|
|
heartbeat/ocf-shellfuncs.in | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/heartbeat/ocf-shellfuncs.in b/heartbeat/ocf-shellfuncs.in
|
|
index fd916e7..56f01e6 100644
|
|
--- a/heartbeat/ocf-shellfuncs.in
|
|
+++ b/heartbeat/ocf-shellfuncs.in
|
|
@@ -165,6 +165,11 @@ __ocf_set_defaults() {
|
|
ha_log "ERROR: Need to tell us our resource instance name."
|
|
exit $OCF_ERR_ARGS
|
|
fi
|
|
+
|
|
+ # TODO: Find a better way to ensure this dir exists
|
|
+ if [ ! -d "$HA_RSCTMP" ]; then
|
|
+ mkdir -p $HA_RSCTMP
|
|
+ fi
|
|
}
|
|
|
|
hadate() {
|
|
--
|
|
1.9.1
|
|
|