commit 108786f5c9e79fcbf6080d73c4bdb6c475c30827
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Nov 3 09:43:55 2016 +0100
Enforce socket on dbhost
roles/bugzilla/templates/localconfig | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/roles/bugzilla/templates/localconfig b/roles/bugzilla/templates/localconfig
index b84c1f7..05caa0a 100644
--- a/roles/bugzilla/templates/localconfig
+++ b/roles/bugzilla/templates/localconfig
@@ -43,7 +43,11 @@ $use_suexec = 0;
$db_driver = '{{ bugzilla_db_driver }}';
# The DNS name of the host that the database server runs on.
+{% if bugzilla_db_host == 'localhost' %}
+$db_host = ''
+{% else %}
$db_host = '{{ bugzilla_db_host }}';
+{% endif %}
# The name of the database
$db_name = '{{ bugzilla_db_name }}';
Show replies by date