added 'seen' type to debconf
This commit is contained in:
parent
0daedc05f5
commit
a28d7a00b8
1 changed files with 4 additions and 5 deletions
|
@ -51,11 +51,11 @@ options:
|
||||||
aliases: ['setting', 'selection']
|
aliases: ['setting', 'selection']
|
||||||
vtype:
|
vtype:
|
||||||
description:
|
description:
|
||||||
- The type of the value supplied
|
- The type of the value supplied.
|
||||||
|
- C(seen) was added in 2.2.
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
choices: [string, password, boolean, select, multiselect, note, error, title, text]
|
choices: [string, password, boolean, select, multiselect, note, error, title, text, seen]
|
||||||
aliases: []
|
|
||||||
value:
|
value:
|
||||||
description:
|
description:
|
||||||
- Value to set the configuration to
|
- Value to set the configuration to
|
||||||
|
@ -67,7 +67,6 @@ options:
|
||||||
- Do not set 'seen' flag when pre-seeding
|
- Do not set 'seen' flag when pre-seeding
|
||||||
required: false
|
required: false
|
||||||
default: False
|
default: False
|
||||||
aliases: []
|
|
||||||
author: "Brian Coca (@bcoca)"
|
author: "Brian Coca (@bcoca)"
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
@ -119,7 +118,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', 'password', 'boolean', 'select', 'multiselect', 'note', 'error', 'title', 'text']),
|
vtype = dict(required=False, type='str', choices=['string', 'password', 'boolean', 'select', 'multiselect', 'note', 'error', 'title', 'text', 'seen']),
|
||||||
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…
Reference in a new issue