diff options
author | Claire McQuin <mcquin@users.noreply.github.com> | 2014-06-26 12:01:49 -0700 |
---|---|---|
committer | Claire McQuin <mcquin@users.noreply.github.com> | 2014-06-26 12:01:49 -0700 |
commit | 7450aeae8d975b16e8f44f0de36a8a21ed15f2c5 (patch) | |
tree | 5169d2cab893dfd74583ce8301d554b90244b901 | |
parent | 208427e10af5d95857cc7b2ddff252f2db631bbb (diff) | |
parent | a4556066c439aad56a0481ea02f4e4f1a4dc6757 (diff) | |
download | chef-7450aeae8d975b16e8f44f0de36a8a21ed15f2c5.tar.gz |
Merge pull request #1564 from opscode/mcquin/yum-dump-parser-params
Change --yum-lock-timeout option action to store.
-rw-r--r-- | lib/chef/provider/package/yum-dump.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |