mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-10-14 09:24:47 +00:00
services: grafana: Remove use of password file.
* modules/rosenthal/services/monitoring.scm (grafana-configuration) [database-password-file]: Delete field. * modules/rosenthal/services/monitoring.scm (grafana-postgresql-role): Remove use of password file.
This commit is contained in:
parent
fd288d075b
commit
83943282c9
@ -94,9 +94,6 @@
|
|||||||
(config
|
(config
|
||||||
ini-config
|
ini-config
|
||||||
"")
|
"")
|
||||||
(database-password-file
|
|
||||||
string
|
|
||||||
"")
|
|
||||||
(shepherd-provision
|
(shepherd-provision
|
||||||
(list-of-symbols '(grafana))
|
(list-of-symbols '(grafana))
|
||||||
"")
|
"")
|
||||||
@ -118,12 +115,10 @@
|
|||||||
(home-directory "/var/lib/grafana")))))
|
(home-directory "/var/lib/grafana")))))
|
||||||
|
|
||||||
(define grafana-postgresql-role
|
(define grafana-postgresql-role
|
||||||
(match-record-lambda <grafana-configuration>
|
(lambda _
|
||||||
(database-password-file)
|
|
||||||
(list (postgresql-role
|
(list (postgresql-role
|
||||||
(name "grafana")
|
(name "grafana")
|
||||||
(create-database? #t)
|
(create-database? #t)))))
|
||||||
(password-file database-password-file)))))
|
|
||||||
|
|
||||||
(define grafana-activation
|
(define grafana-activation
|
||||||
(lambda _
|
(lambda _
|
||||||
|
Loading…
Reference in New Issue
Block a user