diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-29 16:15:01 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-03-15 18:03:29 -0700 |
commit | dd236ac36c54c54897de5f6e42d5f19737518b43 (patch) | |
tree | 0f4c988be2fca63f2dba2978f2cc9e924162f6e9 /lib/chef/provider/package/yum | |
parent | fdc04fe535b2515b71fa3e5b9528d0be7b4873eb (diff) | |
download | chef-dd236ac36c54c54897de5f6e42d5f19737518b43.tar.gz |
fix typo in method declarations
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/package/yum')
-rw-r--r-- | lib/chef/provider/package/yum/yum_cache.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/package/yum/yum_cache.rb b/lib/chef/provider/package/yum/yum_cache.rb index 65b8cf8178..2a6c6b8d2a 100644 --- a/lib/chef/provider/package/yum/yum_cache.rb +++ b/lib/chef/provider/package/yum/yum_cache.rb @@ -62,12 +62,12 @@ class Chef "#{p.version}.#{p.arch}" end - def package_available?(package_name) + def package_available?(name) p = python_helper.package_query(:whatavailable, name) !p.version.nil? end - def version_available?(package_name, version, arch = nil) + def version_available?(name, version, arch = nil) p = python_helper.package_query(:whatavailable, name, version, arch) !p.version.nil? end |