diff --git a/manifests/install.pp b/manifests/install.pp index 0be49533..69fde060 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -71,7 +71,8 @@ # 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', - creates => '/usr/local/bin/pip', + unless => 'which pip', + path => [ '/bin', '/usr/bin', '/usr/local/bin' ], require => Package['python'], }