summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2008-10-24 14:11:08 -0400
committerAdrian Likins <alikins@redhat.com>2008-10-24 14:11:08 -0400
commit89981413977258a3f4b28df5208a9474b5112e4d (patch)
tree292793f0dd49ad5cba88f954a4fc943b0777d72a /etc
parente22199a3c8d1cb9e54d8179ffd0e9ad4a34f8947 (diff)
downloadfunc-89981413977258a3f4b28df5208a9474b5112e4d.tar.gz
func-89981413977258a3f4b28df5208a9474b5112e4d.tar.xz
func-89981413977258a3f4b28df5208a9474b5112e4d.zip
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
Diffstat (limited to 'etc')
-rw-r--r--etc/Test.conf10
1 files changed, 4 insertions, 6 deletions
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