Puppet Class: storm::backend::install

Defined in:
manifests/backend/install.pp

Summary

StoRM Backend install class

Overview



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
# File 'manifests/backend/install.pp', line 3

class storm::backend::install (

) {
  ## StoRM Backend
  package { 'storm-backend-server':
    ensure  => '>=1.11.22',
  }

  if $storm::backend::fs_type == 'gpfs' {
    ## Native libs GPFS
    package { 'storm-native-libs-gpfs' :
      ensure  => '>1.0.7',
      require => [Package['storm-backend-server']],
    }
  } else {
    $storm::backend::storage_areas.each | $sa | {
      if $sa['fs_type'] == 'gpfs' {
        ## Native libs GPFS
        package { 'storm-native-libs-gpfs' :
          ensure  => '>1.0.7',
          require => [Package['storm-backend-server']],
        }
        break()
      }
    }
  }

  ## StoRM Info Provider
  package { 'storm-dynamic-info-provider':
    ensure  => '>=1.8.3',
    require => [Package['storm-backend-server']],
  }
}