Puppet Class: storm::webdav::install

Defined in:
manifests/webdav/install.pp

Summary

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

class storm::webdav::install (

) {
  package { 'storm-webdav':
    ensure  => '>=1.4.2',
  }
  if $storm::webdav::scitags_enabled {
    $el = $facts['os']['distro']['release']['major']
    yumrepo { 'scitags-repo':
      ensure   => present,
      descr    => 'SciTags stable repo',
      enabled  => 1,
      gpgcheck => 0,
      baseurl  => "https://linuxsoft.cern.ch/repos/scitags${el}al-stable/x86_64/os/",
    }
    case $storm::webdav::scitags_daemon {
      'flowd': {
        package { 'python3-scitags':
          ensure  => 'installed',
          require => Yumrepo['scitags-repo'],
        }
      }
      'flowd-go': {
        package { 'flowd-go':
          ensure  => '>=2.4.0',
          require => Yumrepo['scitags-repo'],
        }
      }
    }
  }
}