Commit 13db184d by Ding Deng

debconf module: add the missing 'error' vtype and reorder vtypes as they…

debconf module: add the missing 'error' vtype and reorder vtypes as they appeared in debconf-devel(7).
parent c8494cdc
......@@ -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'),
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment