diff --git a/recipes/pip.rb b/recipes/pip.rb index ca2151e..7408784 100644 --- a/recipes/pip.rb +++ b/recipes/pip.rb @@ -33,6 +33,7 @@ remote_file "#{Chef::Config[:file_cache_path]}/distribute_setup.py" do source node['python']['distribute_script_url'] mode "0644" + notifies :run, "bash[install-pip]", :immediately not_if { ::File.exists?(pip_binary) } end @@ -42,5 +43,4 @@ #{node['python']['binary']} distribute_setup.py --download-base=#{node['python']['distribute_option']['download_base']} #{::File.dirname(pip_binary)}/easy_install pip EOF - not_if { ::File.exists?(pip_binary) } end