Puppet Class: eduvpn

Defined in:
manifests/init.pp

Summary

Install eduVPN client

Overview

Examples:

Install eduVPN client

class{ 'eduvpn': }

Parameters:

  • dist_dir (Optional[String[1]]) (defaults to: undef)

    OS particular directory of package repository URL. Defaults in hiera.

  • manage_repos (Boolean) (defaults to: true)

    Should the repositories be managed.

  • repo_prefix (Stdlib::Httpsurl) (defaults to: 'https://app.eduvpn.org/linux/')

    of the repository URL

  • repo_version (Enum['v4','v4-dev']) (defaults to: 'v4')

    eduVPN version string in the repository URL



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'manifests/init.pp', line 11

class eduvpn (
  Optional[String[1]] $dist_dir = undef,
  Boolean $manage_repos = true,
  Stdlib::Httpsurl $repo_prefix = 'https://app.eduvpn.org/linux/',
  Enum['v4','v4-dev'] $repo_version = 'v4',
) {
  if $facts['os']['family'] == 'RedHat' and $dist_dir =~ Undef {
    fail('The dist_dir directory must be set for os.family == RedHat')
  }

  contain eduvpn::repos
  contain eduvpn::install

  Class['Eduvpn::Repos'] -> Class['Eduvpn::Install']
}