From 27861009dab40d80ec40e9277564905b0c2100c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mich=C3=A9e=20Lengronne?= Date: Mon, 18 Jan 2021 18:18:13 +0100 Subject: [PATCH] softcoded nginx path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michée Lengronne --- controls/nginx_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/nginx_spec.rb b/controls/nginx_spec.rb index ea6ec98..fe458fb 100644 --- a/controls/nginx_spec.rb +++ b/controls/nginx_spec.rb @@ -92,7 +92,7 @@ end # determine all required paths -nginx_path = '/etc/nginx' +nginx_path = attribute('nginx_path', value: '/etc/nginx', description: 'Default nginx configurations path') nginx_conf = File.join(nginx_path, 'nginx.conf') nginx_confd = File.join(nginx_path, 'conf.d') nginx_enabled = File.join(nginx_path, 'sites-enabled')