[PATCH configure] BZ 746702 - Update the error message displayed when there is a problem with a config file

Richard Su rwsu at redhat.com
Fri Feb 3 00:46:05 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=746702

The config file format was changed to support multiple providers.
The old error message didn't make sense.
---
 bin/aeolus-node-check |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/aeolus-node-check b/bin/aeolus-node-check
index 3647bd5..3c7fe9e 100755
--- a/bin/aeolus-node-check
+++ b/bin/aeolus-node-check
@@ -55,8 +55,11 @@ else
     errors.each do |e|
       puts e
     end
-    puts "parameters must be in the form [space][space][parameter name][colon][space][parameter value]"
-    puts "classes must be in the form [dash][space][class name]"
+    puts "The config files are in YAML. Please use the following conventions: "
+    puts "* Spaces and not tabs should be used to indent."
+    puts "* A node must be indented further away from its parent node. We use 2 spaces."
+    puts "* All sibling nodes must be indented with the same number of spaces. "
+    puts "* The parameter name and value is separated by a colon and a space."
     exit 1
   end
 
-- 
1.7.7.6




More information about the aeolus-devel mailing list