From 54aa265915f305f688051bebf940fcbe000ddce2 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 28 May 2014 18:29:39 -0400 Subject: 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 --- ipsilon/install/ipsilon-server-install | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipsilon/install') 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) -- cgit