Skip to content
Snippets Groups Projects
Commit 1d6acf63 authored by Florian Sesser's avatar Florian Sesser
Browse files

Fixes

parent 4012798e
Branches
No related tags found
2 merge requests!278merge develop into production,!271Factoring improvements (VPN client, monitoring exporters)
...@@ -24,7 +24,7 @@ in { ...@@ -24,7 +24,7 @@ in {
}; };
}; };
services.private-storage.monitoring.node.enable = true; services.private-storage.monitoring.exporters.node.enable = true;
services.private-storage.monitoring.vpn.client = { services.private-storage.monitoring.vpn.client = {
enable = true; enable = true;
ip = monitoringvpnIPv4; ip = monitoringvpnIPv4;
......
...@@ -161,6 +161,6 @@ in { ...@@ -161,6 +161,6 @@ in {
domains = cfg.monitoringDomains; domains = cfg.monitoringDomains;
}; };
services.private-storage.monitoring.node.enable = true; services.private-storage.monitoring.exporters.node.enable = true;
}; };
} }
...@@ -41,9 +41,9 @@ in { ...@@ -41,9 +41,9 @@ in {
lib.mkIf cfg.enable { lib.mkIf cfg.enable {
assertions = [ assertions = [
{ {
assertion = config.services.private-storage.monitoring.node.enable; assertion = config.services.private-storage.monitoring.exporters.node.enable;
message = '' message = ''
services.private-storage.monitoring.tahoe requires services.private-storage.monitoring.node to provide the textfile prometheus collector. services.private-storage.monitoring.tahoe requires services.private-storage.monitoring.exporters.node to provide the textfile prometheus collector.
''; '';
} }
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment