From a28d7a00b899e88d9d0b349939ae85f18052bf5c Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 20 Jun 2016 08:58:33 -0400 Subject: [PATCH] added 'seen' type to debconf --- system/debconf.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/system/debconf.py b/system/debconf.py index b249986a947..cc4681ebb3b 100644 --- a/system/debconf.py +++ b/system/debconf.py @@ -51,11 +51,11 @@ options: aliases: ['setting', 'selection'] vtype: description: - - The type of the value supplied + - The type of the value supplied. + - C(seen) was added in 2.2. required: false default: null - choices: [string, password, boolean, select, multiselect, note, error, title, text] - aliases: [] + choices: [string, password, boolean, select, multiselect, note, error, title, text, seen] value: description: - Value to set the configuration to @@ -67,7 +67,6 @@ options: - Do not set 'seen' flag when pre-seeding required: false default: False - aliases: [] author: "Brian Coca (@bcoca)" ''' @@ -119,7 +118,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', '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'), unseen = dict(required=False, type='bool'), ),