From eb5c81d3db67cf574c0806354c56865f825b300f Mon Sep 17 00:00:00 2001 From: nkrapp Date: Tue, 16 Apr 2024 15:33:26 +0200 Subject: [PATCH] specify list of valid repo breeds in schema --- changelog.d/69.fixed | 1 + libcobblersignatures/data/v2/schema.json | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 changelog.d/69.fixed diff --git a/changelog.d/69.fixed b/changelog.d/69.fixed new file mode 100644 index 0000000..493319d --- /dev/null +++ b/changelog.d/69.fixed @@ -0,0 +1 @@ +Specified list of valid repo breeds in the signatures schema diff --git a/libcobblersignatures/data/v2/schema.json b/libcobblersignatures/data/v2/schema.json index d15a7c8..6955397 100644 --- a/libcobblersignatures/data/v2/schema.json +++ b/libcobblersignatures/data/v2/schema.json @@ -71,7 +71,13 @@ "description": "", "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "rsync", + "rhn", + "yum", + "apt" + ] } }, "kernel_file": {