# File lib/chef/provider/package/yum.rb, line 175 def install_package(name, version) if @new_resource.source run_command_with_systems_locale( :command => "yum -d0 -e0 -y #{@new_resource.options} localinstall #{@new_resource.source}" ) else run_command_with_systems_locale( :command => "yum -d0 -e0 -y #{@new_resource.options} install #{name}-#{version}#{yum_arch}" ) end @yum.flush end