krebs 3 zone-generation: for consistency, add newline at the end
This commit is contained in:
parent
5842130703
commit
709ebf6bbc
@ -105,8 +105,8 @@ let
|
||||
|
||||
# Implements environment.etc."zones/<zone-name>"
|
||||
environment.etc = let
|
||||
stripEmptyLines = s: concatStringsSep "\n"
|
||||
(remove "\n" (remove "" (splitString "\n" s)));
|
||||
stripEmptyLines = s: (concatStringsSep "\n"
|
||||
(remove "\n" (remove "" (splitString "\n" s)))) + "\n";
|
||||
all-zones = foldAttrs (sum: current: sum + "\n" +current ) ""
|
||||
([cfg.zone-head-config] ++ combined-hosts);
|
||||
combined-hosts = (mapAttrsToList (name: value: value.extraZones) cfg.hosts );
|
||||
|
Loading…
Reference in New Issue
Block a user