Puppet Class: storm::backend::service

Defined in:
manifests/backend/service.pp

Summary

StoRM Backend service class

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/backend/service.pp', line 3

class storm::backend::service {
  if defined(Service['mysqld']) {
    $subscribed_to = [Service['mysqld']]
  } else {
    $subscribed_to = []
  }
  service { 'storm-backend-server':
    ensure    => running,
    enable    => true,
    subscribe => $subscribed_to,
  }
  exec { 'configure-info-provider':
    command   => '/usr/libexec/storm-info-provider configure',
    tries     => 5,
    try_sleep => 2,
    require   => [Service['storm-backend-server']],
  }
}