debconf module: add the missing 'error' vtype and reorder vtypes as they appeared in debconf-devel(7).

This commit is contained in:
Ding Deng 2014-08-19 17:44:02 +08:00
parent c8494cdc39
commit 13db184d7f

View file

@ -53,7 +53,7 @@ options:
- The type of the value supplied - The type of the value supplied
required: false required: false
default: null default: null
choices: [string, boolean, select, multiselect, note, text, password, title] choices: [string, password, boolean, select, multiselect, note, error, title, text]
aliases: [] aliases: []
value: value:
description: description:
@ -120,7 +120,7 @@ def main():
argument_spec = dict( argument_spec = dict(
name = dict(required=True, aliases=['pkg'], type='str'), name = dict(required=True, aliases=['pkg'], type='str'),
question = dict(required=False, aliases=['setting', 'selection'], 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'), value= dict(required=False, type='str'),
unseen = dict(required=False, type='bool'), unseen = dict(required=False, type='bool'),
), ),