From 13db184d7fcf4846fd17b1d0a0eb894be3fefd32 Mon Sep 17 00:00:00 2001 From: Ding Deng Date: Tue, 19 Aug 2014 17:44:02 +0800 Subject: [PATCH] debconf module: add the missing 'error' vtype and reorder vtypes as they appeared in debconf-devel(7). --- library/system/debconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/system/debconf b/library/system/debconf index 836a7105cae..7f5ea0368ca 100644 --- a/library/system/debconf +++ b/library/system/debconf @@ -53,7 +53,7 @@ options: - The type of the value supplied required: false default: null - choices: [string, boolean, select, multiselect, note, text, password, title] + choices: [string, password, boolean, select, multiselect, note, error, title, text] aliases: [] value: description: @@ -120,7 +120,7 @@ def main(): argument_spec = dict( name = dict(required=True, aliases=['pkg'], type='str'), question = dict(required=False, aliases=['setting', 'selection'], type='str'), - vtype = dict(required=False, type='str', choices=['string', 'boolean', 'select', 'multiselect', 'note', 'text', 'password', 'title']), + vtype = dict(required=False, type='str', choices=['string', 'password', 'boolean', 'select', 'multiselect', 'note', 'error', 'title', 'text']), value= dict(required=False, type='str'), unseen = dict(required=False, type='bool'), ),