Skip to content
Snippets Groups Projects
Commit 54def155 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

re-indent because emacs demands it

parent ca411d9e
No related branches found
No related tags found
2 merge requests!395Add a read-only Great Black Swamp storage server to each storage node,!384update production
......@@ -98,9 +98,9 @@ in
config = lib.mkIf cfg.enable
{ services.tahoe.nodes."${storage-node-name}" =
{ package = cfg.tahoe.package;
# Each attribute in this set corresponds to a section in the tahoe.cfg
# file. Attributes on those sets correspond to individual assignments
# in those sections.
# Each attribute in this set corresponds to a section in the
# tahoe.cfg file. Attributes on those sets correspond to individual
# assignments in those sections.
#
# We just populate this according to policy/preference of Private
# Storage.
......@@ -112,11 +112,12 @@ in
# XXX Should try to name that is unique across the grid.
{ nickname = "${storage-node-name}";
# We have the web port active because the CLI uses it and because it
# exposes a metrics endpoint for our monitoring system. The actual
# port configuration lives in systemd so that it can order binding
# the socket correctly with other dependencies (which we can't
# reliably do with Tahoe without a bunch of other work).
# We have the web port active because the CLI uses it and
# because it exposes a metrics endpoint for our monitoring
# system. The actual port configuration lives in systemd so
# that it can order binding the socket correctly with other
# dependencies (which we can't reliably do with Tahoe
# without a bunch of other work).
"web.port" = "systemd:domain=INET:index=0";
# We have to tell Tahoe-LAFS where to listen for Foolscap
......@@ -158,6 +159,5 @@ in
# Provide a useful tool for reporting about shares.
ourpkgs.leasereport
];
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment