Skip to content

Commit 8d97e7f

Browse files
author
Joshua Spence
committed
Minor improvement for bootstrapped pip installation
Improves upon pull request voxpupuli#244 to be platform-agnostic.
1 parent 4e6e414 commit 8d97e7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/install.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
# Install pip without pip, see https://pip.pypa.io/en/stable/installing/.
7171
exec { 'bootstrap pip':
7272
command => 'curl https://bootstrap.pypa.io/get-pip.py | python',
73-
creates => '/usr/local/bin/pip',
73+
unless => 'which pip',
7474
require => Package['python'],
7575
}
7676
Exec['bootstrap pip'] -> Package <| provider == pip |>

0 commit comments

Comments
 (0)