File bug-890400_pacemaker-crm_resource-no-attr-message.patch of Package pacemaker

commit 3a4e5ea803c907a2657dfa05656f3b5349869c98
Author: Gao,Yan <ygao@suse.com>
Date:   Fri Aug 15 00:54:44 2014 +0800

    Log: crm_resource: Print a clear message if the attribute is not found for the resource

diff --git a/tools/crm_resource.c b/tools/crm_resource.c
index 660637f..7b49f91 100644
--- a/tools/crm_resource.c
+++ b/tools/crm_resource.c
@@ -395,6 +395,9 @@ dump_resource_attr(const char *rsc, const char *attr, pe_working_set_t * data_se
     if (value != NULL) {
         fprintf(stdout, "%s\n", value);
         rc = 0;
+
+    } else {
+        CMD_ERR("Attribute '%s' not found for '%s'\n", attr, the_rsc->id);
     }
 
     g_hash_table_destroy(params);