From 89981413977258a3f4b28df5208a9474b5112e4d Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Fri, 24 Oct 2008 14:11:08 -0400 Subject: Fix minion module config examples. Add local "Config" class to module. Add in all the approriate types and defaults to Config class Update etc/Test.conf example to include everything in main. For now we only support one stanza config files for modules. updated test cases to test that proper values are fetched from the config file for the "test" module --- etc/Test.conf | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'etc') diff --git a/etc/Test.conf b/etc/Test.conf index 89f39aa..c6f2454 100644 --- a/etc/Test.conf +++ b/etc/Test.conf @@ -1,10 +1,8 @@ [main] example = 1 - -[anothersection] -interger = 37 -boolean = True -float = 3.14159 -string = "this is a string" +int_option = 37 +bool_option = True +float_option = 3.14159 +string_option = "this is a string" testvalue = 100 -- cgit