Skip to content

Commit fd3164b

Browse files
author
Shiva Poudel
committed
Merge pull request voxpupuli#249 from joshuaspence/pip-unless
Minor improvement for bootstrapped pip installation
2 parents 4e6e414 + 8d97e7f commit fd3164b

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)