nix: state the swarm requirement without a no-fallback clause
This commit is contained in:
parent
82463388c5
commit
c8ff9a1943
2 changed files with 6 additions and 6 deletions
|
|
@ -198,8 +198,8 @@ in
|
|||
hyperhive requires services.hyperhive.swarm.domain to be set
|
||||
on every host, to the same value on every host of the swarm —
|
||||
the DNS domain of the swarm, of which each hive occupies one
|
||||
sub-domain. There is no fallback: a guessed value would be a
|
||||
wrong hostname that evaluates cleanly and deploys. Set it
|
||||
sub-domain. A guessed value would be a wrong hostname that
|
||||
evaluates cleanly and deploys. Set it
|
||||
(`services.hyperhive.swarm.domain = "example.com";`) — with
|
||||
`hiveName` it also derives `services.hyperhive.domain` for you.
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -119,10 +119,10 @@ in
|
|||
|
||||
**Required** on every host that imports this module, with the
|
||||
same value on every host of the swarm, and deliberately not
|
||||
defaulted: there is no fallback worth having. A guessed
|
||||
swarm domain is a wrong hostname that evaluates cleanly and
|
||||
deploys, which is worse than an eval failure telling an
|
||||
operator to write down the one address their swarm answers to.
|
||||
defaulted. A guessed swarm domain is a wrong hostname that
|
||||
evaluates cleanly and deploys, which is worse than an eval
|
||||
failure telling an operator to write down the one address their
|
||||
swarm answers to.
|
||||
Upgrading past this costs one line, once.
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue