Add example configuration
authorSimo Sorce <simo@redhat.com>
Wed, 4 Dec 2013 04:20:57 +0000 (23:20 -0500)
committerSimo Sorce <simo@redhat.com>
Wed, 4 Dec 2013 20:26:48 +0000 (15:26 -0500)
Signed-off-by: Simo Sorce <simo@redhat.com>
examples/ipsilon.conf [new file with mode: 0644]
src/ipsilon.py

diff --git a/examples/ipsilon.conf b/examples/ipsilon.conf
new file mode 100644 (file)
index 0000000..6d594c2
--- /dev/null
@@ -0,0 +1,3 @@
+[global]
+log.iscreen = "error"
+providers.dir = "../src/providers"
index affab32..76db812 100755 (executable)
@@ -32,6 +32,8 @@ class Root(object):
         return '/'
 
 
         return '/'
 
 
+cherrypy.config.update('ipsilon.conf')
+
 plugins = plugin.Plugins()
 idp_providers = plugins.get_providers()
 cherrypy.config.update({'idp_providers': idp_providers})
 plugins = plugin.Plugins()
 idp_providers = plugins.get_providers()
 cherrypy.config.update({'idp_providers': idp_providers})