bd3886ed14
packaged pip vs. upstream pip gets the systems very broken. Make launch-node use get-pip to install pip as per: http://www.pip-installer.org/en/latest/installing.html Change-Id: Ice28b47d766c04b42462a7297911dc1a1abe5a77
22 lines
597 B
Puppet
22 lines
597 B
Puppet
# Class: pip::params
|
|
#
|
|
# This class holds parameters that need to be
|
|
# accessed by other classes.
|
|
class pip::params {
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$python_devel_package = 'python-devel'
|
|
$python3_devel_package = 'python3-devel'
|
|
$python3_pip_package = 'python3-pip'
|
|
}
|
|
'Debian': {
|
|
$python_devel_package = 'python-all-dev'
|
|
$python3_devel_package = 'python3-all-dev'
|
|
$python3_pip_package = 'python3-pip'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} The 'pip' module only supports osfamily Debian or RedHat.")
|
|
}
|
|
}
|
|
}
|