[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: services: zabbix-frontend: Adjust indentation.
From: |
guix-commits |
Subject: |
07/10: services: zabbix-frontend: Adjust indentation. |
Date: |
Sat, 29 Jan 2022 06:53:59 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 8fa6f975d4bb87b3d177722221e4db4263d8b5f9
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Jan 28 19:15:13 2022 +0100
services: zabbix-frontend: Adjust indentation.
* gnu/services/monitoring.scm (zabbix-front-end-activation): Reindent.
---
gnu/services/monitoring.scm | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index 428371f2cf..a3955808e9 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -622,28 +622,28 @@ $DB['PORT'] = '" (number->string db-port) "';
$DB['DATABASE'] = '" db-name "';
$DB['USER'] = '" db-user "';
$DB['PASSWORD'] = " (let ((file (location-file %location))
- (line (location-line %location))
- (column (location-column %location)))
- (if (string-null? db-password)
- (if (string-null? db-secret-file)
- (raise (make-compound-condition
- (condition
- (&message
- (message
- (format #f "no '~A' or '~A' field in
your '~A' record"
- 'db-secret-file 'db-password
-
'zabbix-front-end-configuration))))
- (condition
- (&error-location
- (location %location)))))
- (string-append "trim(file_get_contents('"
- db-secret-file "'));\n"))
- (begin
- (display-hint (format #f (G_ "~a:~a:~a: ~a:
+ (line (location-line %location))
+ (column (location-column %location)))
+ (if (string-null? db-password)
+ (if (string-null? db-secret-file)
+ (raise (make-compound-condition
+ (condition
+ (&message
+ (message
+ (format #f "no '~A' or '~A' field in
your '~A' record"
+ 'db-secret-file 'db-password
+
'zabbix-front-end-configuration))))
+ (condition
+ (&error-location
+ (location %location)))))
+ (string-append "trim(file_get_contents('"
+ db-secret-file "'));\n"))
+ (begin
+ (display-hint (format #f (G_ "~a:~a:~a: ~a:
Consider using @code{db-secret-file} instead of @code{db-password} for better
security.") file line column 'zabbix-front-end-configuration))
- (format #f "'~a';~%" db-password))))
-"
+ (format #f "'~a';~%" db-password))))
+ "
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB['SCHEMA'] = '';
- branch master updated (69218e84f1 -> 45681b89a8), guix-commits, 2022/01/29
- 03/10: gnu: fping: Enable IPv6 support., guix-commits, 2022/01/29
- 02/10: services: zabbix-frontend: Fix configuration file for hard coded passwords., guix-commits, 2022/01/29
- 05/10: services: zabbix-server: Add shepherd actions for runtime control commands., guix-commits, 2022/01/29
- 01/10: gnu: python-pydantic: Update to 1.9.0., guix-commits, 2022/01/29
- 04/10: gnu: zabbix-server: Use a sensible default for the "fping" executable., guix-commits, 2022/01/29
- 08/10: gnu: Add TimescaleDB., guix-commits, 2022/01/29
- 10/10: gnu: zabbix: Update to 5.4.9., guix-commits, 2022/01/29
- 07/10: services: zabbix-frontend: Adjust indentation.,
guix-commits <=
- 09/10: services: zabbix-agent: Set the PATH variable., guix-commits, 2022/01/29
- 06/10: services: zabbix-frontend: Enable IEEE754-compatible history values., guix-commits, 2022/01/29