From 8d97e7f15385d338097b32a1c8aa7950e0c1e588 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Thu, 17 Sep 2015 09:44:54 +1000 Subject: [PATCH] Minor improvement for bootstrapped pip installation Improves upon pull request #244 to be platform-agnostic. --- manifests/install.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/install.pp b/manifests/install.pp index c7abe617..4025a875 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -70,7 +70,7 @@ # 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', + unless => 'which pip', require => Package['python'], } Exec['bootstrap pip'] -> Package <| provider == pip |>