inventory: Add warning if manifest.readme is missing
This commit is contained in:
@@ -979,9 +979,12 @@ in
|
||||
else
|
||||
null
|
||||
) config.roles;
|
||||
manifestWarnings = lib.optionals (config.manifest.readme == null || config.manifest.readme == "") [
|
||||
"Missing manifest.readme for clanService '${formatModule}'"
|
||||
];
|
||||
in
|
||||
{
|
||||
warnings = (lib.filter (v: v != null) warningsWithNull);
|
||||
warnings = (lib.filter (v: v != null) warningsWithNull ++ manifestWarnings);
|
||||
assertions = lib.attrValues failedAssertions;
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user