From a4556066c439aad56a0481ea02f4e4f1a4dc6757 Mon Sep 17 00:00:00 2001 From: Claire McQuin Date: Thu, 26 Jun 2014 09:41:22 -0700 Subject: Change --yum-lock-timeout option action to store. --- lib/chef/provider/package/yum-dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/provider/package/yum-dump.py b/lib/chef/provider/package/yum-dump.py index 7e86994c64..8b09dedbf0 100644 --- a/lib/chef/provider/package/yum-dump.py +++ b/lib/chef/provider/package/yum-dump.py @@ -279,7 +279,7 @@ def main(): action="callback", callback=gather_repo_opts, type="string", dest="repo_control", default=[], help="disable repositories by id or glob") parser.add_option("--yum-lock-timeout", - action="callback", type="int", dest="yum_lock_timeout", default=30, + action="store", type="int", dest="yum_lock_timeout", default=30, help="Time in seconds to wait for yum process lock") (options, args) = parser.parse_args() -- cgit v1.2.1