Skip to content

Commit

Permalink
Fixes #256
Browse files Browse the repository at this point in the history
`/usr/bin/which pip` always return `false` because `$PATH` is not set. Instead, check for existance of `/usr/local/bin/pip`.
  • Loading branch information
joshuaspence committed Feb 8, 2016
1 parent 09c3bf2 commit a7f72a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
# Install pip without pip, see https://pip.pypa.io/en/stable/installing/.
exec { 'bootstrap pip':
command => '/usr/bin/curl https://bootstrap.pypa.io/get-pip.py | python',
unless => '/usr/bin/which pip',
creates => '/usr/local/bin/pip',
require => Package['python'],
}

Expand Down

0 comments on commit a7f72a3

Please sign in to comment.