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

reviewable/pr18780/r1
Ding Deng 10 years ago
parent 0b35433654
commit 85c6434262

@ -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'),
), ),

Loading…
Cancel
Save