lib/chef/provider/package/easy_install.rb in chef-0.10.2 vs lib/chef/provider/package/easy_install.rb in chef-0.10.4.rc.1
- old
+ new
@@ -113,18 +113,18 @@
@candidate_version = result.stdout[/(.*)Best match: (.*) (.*)$/, 3]
@candidate_version
end
def install_package(name, version)
- run_command(:command => "#{easy_install_binary_path} \"#{name}==#{version}\"")
+ run_command(:command => "#{easy_install_binary_path}#{expand_options(@new_resource.options)} \"#{name}==#{version}\"")
end
def upgrade_package(name, version)
install_package(name, version)
end
def remove_package(name, version)
- run_command(:command => "#{easy_install_binary_path} -m #{name}")
+ run_command(:command => "#{easy_install_binary_path }#{expand_options(@new_resource.options)} -m #{name}")
end
def purge_package(name, version)
remove_package(name, version)
end