diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-13 02:26:54 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-16 01:39:24 +0200 |
commit | da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 (patch) | |
tree | bd45012713b065829c1991e55d52081a8baef58a /modules/private/monitoring | |
parent | bd5c5d4e23ebd3863a960976767ed4a83dfd07fe (diff) | |
download | Nix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.tar.gz Nix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.tar.zst Nix-da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2.zip |
Move secrets to flakes
Diffstat (limited to 'modules/private/monitoring')
-rw-r--r-- | modules/private/monitoring/objects_backup-2.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/monitoring/objects_backup-2.nix b/modules/private/monitoring/objects_backup-2.nix index a930a7d..28032a4 100644 --- a/modules/private/monitoring/objects_backup-2.nix +++ b/modules/private/monitoring/objects_backup-2.nix | |||
@@ -62,7 +62,7 @@ in | |||
62 | passiveInfo = defaultPassiveInfo // { servicegroups = "webstatus-databases"; }; | 62 | passiveInfo = defaultPassiveInfo // { servicegroups = "webstatus-databases"; }; |
63 | service_description = "Mysql replication for eldiron is up to date"; | 63 | service_description = "Mysql replication for eldiron is up to date"; |
64 | use = "local-service"; | 64 | use = "local-service"; |
65 | check_command = ["check_mysql_replication" "/run/mysqld_eldiron/mysqld.sock" "/var/secrets/mysql_replication/eldiron/client"]; | 65 | check_command = ["check_mysql_replication" "/run/mysqld_eldiron/mysqld.sock" config.secrets.fullPaths."mysql_replication/eldiron/client"]; |
66 | } | 66 | } |
67 | { | 67 | { |
68 | passiveInfo = defaultPassiveInfo // { servicegroups = "webstatus-databases,webstatus-backup"; }; | 68 | passiveInfo = defaultPassiveInfo // { servicegroups = "webstatus-databases,webstatus-backup"; }; |
@@ -96,7 +96,7 @@ in | |||
96 | "check_openldap_replication" | 96 | "check_openldap_replication" |
97 | hcfg.url | 97 | hcfg.url |
98 | hcfg.dn | 98 | hcfg.dn |
99 | "${config.secrets.location}/openldap_replication/eldiron/replication_password" | 99 | config.secrets.fullPaths."openldap_replication/eldiron/replication_password" |
100 | hcfg.base | 100 | hcfg.base |
101 | ldapConfig | 101 | ldapConfig |
102 | ]; | 102 | ]; |