summaryrefslogtreecommitdiff
path: root/packaging/os/pkgutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/os/pkgutil.py')
-rw-r--r--packaging/os/pkgutil.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/packaging/os/pkgutil.py b/packaging/os/pkgutil.py
index 0cdc3dee..35ccb4e1 100644
--- a/packaging/os/pkgutil.py
+++ b/packaging/os/pkgutil.py
@@ -54,8 +54,7 @@ options:
description:
- If you want to refresh your catalog from the mirror, set this to (C(yes)).
required: false
- choices: ["yes", "no"]
- default: no
+ default: False
version_added: "2.1"
'''
@@ -130,7 +129,7 @@ def main():
name = dict(required = True),
state = dict(required = True, choices=['present', 'absent','latest']),
site = dict(default = None),
- update_catalog = dict(required = False, default = "no", type='bool', choices=["yes","no"]),
+ update_catalog = dict(required = False, default = False, type='bool'),
),
supports_check_mode=True
)