summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-12-03 23:20:57 -0500
committerSimo Sorce <simo@redhat.com>2013-12-04 15:26:48 -0500
commit5c7a2e17d0a0ccf6f4ddbf74ad3803bdd9d35222 (patch)
tree0a879fca92f0434f1e2e9589804dc00f4e3c4cd8
parent31162de72532847fd0989329a408afb6a4c5b1f6 (diff)
downloadipsilon-5c7a2e17d0a0ccf6f4ddbf74ad3803bdd9d35222.tar.gz
ipsilon-5c7a2e17d0a0ccf6f4ddbf74ad3803bdd9d35222.tar.xz
ipsilon-5c7a2e17d0a0ccf6f4ddbf74ad3803bdd9d35222.zip
Add example configuration
Signed-off-by: Simo Sorce <simo@redhat.com>
-rw-r--r--examples/ipsilon.conf3
-rwxr-xr-xsrc/ipsilon.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/examples/ipsilon.conf b/examples/ipsilon.conf
new file mode 100644
index 0000000..6d594c2
--- /dev/null
+++ b/examples/ipsilon.conf
@@ -0,0 +1,3 @@
+[global]
+log.iscreen = "error"
+providers.dir = "../src/providers"
diff --git a/src/ipsilon.py b/src/ipsilon.py
index affab32..76db812 100755
--- a/src/ipsilon.py
+++ b/src/ipsilon.py
@@ -32,6 +32,8 @@ class Root(object):
return '/'
+cherrypy.config.update('ipsilon.conf')
+
plugins = plugin.Plugins()
idp_providers = plugins.get_providers()
cherrypy.config.update({'idp_providers': idp_providers})