12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'manifests/sdk.pp', line 12
class globus::sdk (
String[1] $ensure = 'present',
Stdlib::Absolutepath $install_path = '/opt/globus-sdk',
Boolean $manage_python = true,
) {
if $manage_python {
include globus::python
}
python::pyvenv { 'globus-sdk':
ensure => 'present',
version => $globus::python::venv_python_version,
venv_dir => $install_path,
systempkgs => true,
before => Python::Pip['globus-sdk'],
}
python::pip { 'globus-sdk':
ensure => $ensure,
pip_provider => $globus::python::pip_provider,
virtualenv => $install_path,
}
}
|