Skip to content

Commit

Permalink
Merge pull request #244 from joshuaspence/ensure_latest
Browse files Browse the repository at this point in the history
Bootstrap pip installation
  • Loading branch information
Shiva Poudel committed Sep 16, 2015
2 parents 9e8c5a1 + c9c9c2d commit 07d6862
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@

case $python::provider {
pip: {
# Install pip without pip, see https://pip.pypa.io/en/stable/installing/.
exec { 'bootstrap pip':
command => 'curl https://bootstrap.pypa.io/get-pip.py | python',
creates => '/usr/local/bin/pip',
require => Package['python'],
}
Exec['bootstrap pip'] -> Package <| provider == pip |>

Package <| title == 'pip' |> {
name => 'pip',
provider => 'pip',
Expand Down

0 comments on commit 07d6862

Please sign in to comment.