Page MenuHomePhabricator
Paste P9831

python3.7
ActivePublic

Authored by jbond on Dec 5 2019, 2:51 PM.
Tags
None
Referenced Files
F31458517: raw.txt
Dec 5 2019, 2:51 PM
Subscribers
package{['curl', 'python3.7']:
ensure => present
}
exec { 'bootstrap pip3':
command => 'curl https://bootstrap.pypa.io/get-pip.py | python3.7',
unless => 'which pip3.7',
path => '/usr/bin',
require => Package['python3.7'],
}
file { 'pip3-python':
ensure => link,
path => '/usr/bin/pip3',
target => "/usr/local/bin/pip3.7",
require => Exec['bootstrap pip3'],
}

Event Timeline

i'm gonna try with:

package { ['curl', 'python3.7', 'python3-distutils']:
  ensure => present
}

and see