Puppet Class: globus::sdk

Defined in:
manifests/sdk.pp

Summary

Manage Globus SDK

Overview

Examples:

include globus::sdk

Parameters:

  • ensure (String[1]) (defaults to: 'present')

    The ensure parameter for PIP installed SDK

  • install_path (Stdlib::Absolutepath) (defaults to: '/opt/globus-sdk')

    Path to install Globus CLI virtualenv

  • manage_python (Boolean) (defaults to: true)

    Boolean to set if Python is managed by this class



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,
  }
}