From d19b7a08e9f613dafd2e561ca6c39b740fa3ec5b Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 16 Jun 2021 13:55:29 +0200 Subject: [PATCH] Debian and /usr/lib/python3: fix path Debian based systems (including Ubuntu and other derivatives) always use /usr/lib/python3 (and not /usr/lib/python3.x), therefore, we shouldn't use a variable ${pyver3} instead of the 3. Change-Id: I5c7faa89d0e719b03c9bb47bb45fa5db4487e0e3 --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 62c428e..0a5bcd2 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -20,7 +20,7 @@ class zaqar::params { 'Debian': { $package_name = 'zaqar-server' $service_name = 'zaqar-server' - $zaqar_wsgi_script_source = "/usr/lib/python${pyver3}/dist-packages/zaqar/transport/wsgi/app.py" + $zaqar_wsgi_script_source = '/usr/lib/python3/dist-packages/zaqar/transport/wsgi/app.py' $zaqar_wsgi_script_path = '/usr/lib/cgi-bin/zaqar' } default: {