mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-10-13 17:04:42 +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
|
||||
ini-config
|
||||
"")
|
||||
(database-password-file
|
||||
string
|
||||
"")
|
||||
(shepherd-provision
|
||||
(list-of-symbols '(grafana))
|
||||
"")
|
||||
@ -118,12 +115,10 @@
|
||||
(home-directory "/var/lib/grafana")))))
|
||||
|
||||
(define grafana-postgresql-role
|
||||
(match-record-lambda <grafana-configuration>
|
||||
(database-password-file)
|
||||
(lambda _
|
||||
(list (postgresql-role
|
||||
(name "grafana")
|
||||
(create-database? #t)
|
||||
(password-file database-password-file)))))
|
||||
(create-database? #t)))))
|
||||
|
||||
(define grafana-activation
|
||||
(lambda _
|
||||
|
Loading…
Reference in New Issue
Block a user