Created
June 21, 2012 22:21
-
-
Save leseb/2968971 to your computer and use it in GitHub Desktop.
Ra Keystone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -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