Puppet Class: profile::analytics::conda_analytics

Defined in:
modules/profile/manifests/analytics/conda_analytics.pp

Overview

Class: profile::analytics::conda_analytics

Includes the conda-analytics .deb package [ensure] This parameter determines whether or not to install the conda-analytics-package.

[ensure_next] This parameter determines whether or not to install the conda-analytics-next package, which allows for the concurrent installation of two environments. The intention is that the -next package should be available to help with the migration of workload from one spark version to another.

[remove_conda_env_pkgs_dir] This option is used to delete the conda pkgs directory when installing the deb package. This pkgs dir is used when cloning the environment. So, It's only used on statboxes and launchers. Default: true

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: lookup('profile::analytics::conda_analytics::ensure', {'default_value' => 'present'}))
  • ensure_next (Wmflib::Ensure) (defaults to: lookup('profile::analytics::conda_analytics::ensure_next', {'default_value' => 'present'}))
  • remove_conda_env_pkgs_dir (Boolean) (defaults to: lookup('profile::analytics::conda_analytics::remove_conda_env_pkgs_dir', {'default_value' => true}))


21
22
23
24
25
26
27
28
29
30
31
# File 'modules/profile/manifests/analytics/conda_analytics.pp', line 21

class profile::analytics::conda_analytics (
    Wmflib::Ensure $ensure             = lookup('profile::analytics::conda_analytics::ensure', {'default_value' => 'present'}),
    Wmflib::Ensure $ensure_next        = lookup('profile::analytics::conda_analytics::ensure_next', {'default_value' => 'present'}),
    Boolean $remove_conda_env_pkgs_dir = lookup('profile::analytics::conda_analytics::remove_conda_env_pkgs_dir', {'default_value' => true})
) {
    class { 'conda_analytics':
        ensure                    => $ensure,
        ensure_next               => $ensure_next,
        remove_conda_env_pkgs_dir => $remove_conda_env_pkgs_dir,
    }
}