From 15c642a9b7af42c368eb5a8e22cab5f07b39b95e Mon Sep 17 00:00:00 2001 From: Evilham Date: Fri, 1 Oct 2021 12:06:45 +0200 Subject: [PATCH] [__debconf_set_selections] Fix --file not being supported Even if deprecated, the parameter *must* be supported, which isn't the case right now. This was due to a misunderstanding of how deprecating parameters work, see: https://www.cdi.st/manual/latest/cdist-type.html#deprecated-parameters --- .../conf/type/__debconf_set_selections/parameter/deprecated/file | 1 + .../__debconf_set_selections/parameter/{deprecated => optional} | 0 2 files changed, 1 insertion(+) create mode 100644 cdist/conf/type/__debconf_set_selections/parameter/deprecated/file rename cdist/conf/type/__debconf_set_selections/parameter/{deprecated => optional} (100%) diff --git a/cdist/conf/type/__debconf_set_selections/parameter/deprecated/file b/cdist/conf/type/__debconf_set_selections/parameter/deprecated/file new file mode 100644 index 00000000..09db545a --- /dev/null +++ b/cdist/conf/type/__debconf_set_selections/parameter/deprecated/file @@ -0,0 +1 @@ +'file' has been deprecated in favour of 'line' in order to provide idempotency. diff --git a/cdist/conf/type/__debconf_set_selections/parameter/deprecated b/cdist/conf/type/__debconf_set_selections/parameter/optional similarity index 100% rename from cdist/conf/type/__debconf_set_selections/parameter/deprecated rename to cdist/conf/type/__debconf_set_selections/parameter/optional