From f89262c74f7ec1c50ba81b51ae05eaa9fabef54b Mon Sep 17 00:00:00 2001 From: John Barker Date: Tue, 1 Apr 2014 21:51:12 +0100 Subject: [PATCH] debconf detail requirements and fix typos --- library/system/debconf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/library/system/debconf b/library/system/debconf index 1dade71f8ad..90a5177880f 100644 --- a/library/system/debconf +++ b/library/system/debconf @@ -34,6 +34,7 @@ notes: - A number of questions have to be answered (depending on the package). Use 'debconf-show ' on any Debian or derivative with the package installed to see questions/settings available. +requirements: [ debconf, debconf-utils ] options: name: description: @@ -127,10 +128,10 @@ def main(): supports_check_mode=True, ) - #TODO: enable passing array of optionas and/or debconf file from get-selections dump + #TODO: enable passing array of options and/or debconf file from get-selections dump pkg = module.params["name"] question = module.params["question"] - vtype = module.params["vtype"] + vtype = module.params["vtype"] value = module.params["value"] unseen = module.params["unseen"] @@ -142,7 +143,7 @@ def main(): if question is not None: if vtype is None or value is None: - module.fail_json(msg="when supliying a question you must supply a valide vtype and value") + module.fail_json(msg="when supplying a question you must supply a valid vtype and value") if not question in prev or prev[question] != value: changed = True