Skip to content

Instantly share code, notes, and snippets.

@leseb
Created June 21, 2012 22:21
Show Gist options
  • Save leseb/2968971 to your computer and use it in GitHub Desktop.
Save leseb/2968971 to your computer and use it in GitHub Desktop.
Ra Keystone
@@ -239,8 +239,9 @@ keystone_monitor() {
if [ -n "$OCF_RESKEY_client_binary" ] && [ -n "$OCF_RESKEY_os_username" ] \
&& [ -n "$OCF_RESKEY_os_password" ] && [ -n "$OCF_RESKEY_os_tenant_name" ] \
&& [ -n "$OCF_RESKEY_os_auth_url" ]; then
- if ! check_binary $OCF_RESKEY_client_binary; then ocf_log warn "$OCF_RESKEY_client_binary \
- missing, can not monitor!" else
+ if ! check_binary $OCF_RESKEY_client_binary; then
+ ocf_log warn "$OCF_RESKEY_client_binary missing, can not monitor!"
+ else
ocf_run -q $OCF_RESKEY_client_binary \
--username "$OCF_RESKEY_os_username" \
--password "$OCF_RESKEY_os_password" \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment