profianinc / infrastructure

[RIP] Profian Inc Network Infrastructure
GNU Affero General Public License v3.0
9 stars 5 forks source link

feat: allow multiple hosts per service #125

Closed puiterwijk closed 2 years ago

puiterwijk commented 2 years ago

This prepares the repository for having multiple hosts to provide a single service, by adding a "host" argument to mkHost, which then decides which host configuration to import. This allows e.g.: prod1 = mkSteward x86_64-linux [..] "prod1.attest.profian.com"; prod1 = mkSteward x86_64_linux [..] "prod2.attest.profian.com";

Signed-off-by: Patrick Uiterwijk patrick@profian.com