summaryrefslogtreecommitdiffstats
path: root/ipsilon/install
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-05-28 18:29:39 -0400
committerSimo Sorce <simo@redhat.com>2014-06-04 10:26:34 -0400
commit54aa265915f305f688051bebf940fcbe000ddce2 (patch)
tree264d97cd156097dfec011f44deca8d484ffefe3a /ipsilon/install
parentdcca975c45427c0176e882f158f816af0336ea43 (diff)
downloadipsilon-54aa265915f305f688051bebf940fcbe000ddce2.tar.gz
ipsilon-54aa265915f305f688051bebf940fcbe000ddce2.tar.xz
ipsilon-54aa265915f305f688051bebf940fcbe000ddce2.zip
Add basic testing infrastructure
make test will now run some sanity tests to make sure basic installation procedures work in a sinthetic test environment. Adds: - custom httpd setup for tests - use profiles to driver ipsilon servers and clients installation - starts multiple httpd servers This way we can test interaction between IDP and SP servers Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'ipsilon/install')
-rwxr-xr-xipsilon/install/ipsilon-server-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipsilon/install/ipsilon-server-install b/ipsilon/install/ipsilon-server-install
index 844505c..1bf0072 100755
--- a/ipsilon/install/ipsilon-server-install
+++ b/ipsilon/install/ipsilon-server-install
@@ -41,6 +41,7 @@ DATADIR = '/var/lib/ipsilon'
HTTPDCONFD = '/etc/httpd/conf.d'
BINDIR = '/usr/sbin'
STATICDIR = '/usr/share/ipsilon'
+WSGI_SOCKET_PREFIX = None
class ConfigurationError(Exception):
@@ -102,6 +103,8 @@ def install(plugins, args):
'sysuser': args['system_user'],
'ipsilondir': BINDIR,
'staticdir': STATICDIR}
+ if WSGI_SOCKET_PREFIX:
+ confopts['wsgi_socket'] = 'WSGISocketPrefix %s' % WSGI_SOCKET_PREFIX
files.write_from_template(ipsilon_conf,
os.path.join(TEMPLATES, 'ipsilon.conf'),
confopts)