Fixes #4877 set type to bool for cache parameter in apt module

This commit is contained in:
James Tanner 2013-11-11 23:23:56 -05:00
parent c459347976
commit aafe7f5b37

View file

@ -139,7 +139,7 @@ def main():
argument_spec = dict( argument_spec = dict(
state = dict(default="present", choices=["present","absent"]), state = dict(default="present", choices=["present","absent"]),
name = dict(aliases=["pkg"], required=True), name = dict(aliases=["pkg"], required=True),
cached = dict(default="no", required=False, choices=["yes","no"]), cached = dict(default=False, type='bool'),
pkgsite = dict(default="", required=False)), pkgsite = dict(default="", required=False)),
supports_check_mode = True) supports_check_mode = True)