Puppet Class: beegfs::client::install

Defined in:
manifests/client/install.pp

Overview



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'manifests/client/install.pp', line 2

class beegfs::client::install {

  if ! $beegfs::utils_only {
    if $beegfs::client_service_autorestart and $beegfs::client_manage_service {
      $helperd_notify = Service['beegfs-helperd']
      $client_notify  = Service['beegfs-client']
    } else {
      $helperd_notify = undef
      $client_notify  = undef
    }

    if $beegfs::manage_client_dependencies {
      ensure_packages($beegfs::client_package_dependencies)
      $_package_require = Package[$beegfs::client_package_dependencies]
    } else {
      $_package_require = undef
    }

    package { 'beegfs-helperd':
      ensure => $beegfs::version,
      name   => $beegfs::helperd_package,
      notify => $helperd_notify,
    }

    package { 'beegfs-client':
      ensure  => $beegfs::version,
      name    => $beegfs::client_package,
      require => $_package_require,
      notify  => $client_notify,
    }
  }

  package { 'beegfs-utils':
    ensure => $beegfs::version,
    name   => $beegfs::utils_package,
  }

}