Puppet Class: storm::gridftp::config

Defined in:
manifests/gridftp/config.pp

Summary

StoRM GridFTP config 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
# File 'manifests/gridftp/config.pp', line 3

class storm::gridftp::config (

) {
  $conf_file='/etc/grid-security/gridftp.conf'
  $conf_template_file='storm/etc/grid-security/gridftp.conf.erb'

  file { $conf_file:
    ensure  => file,
    content => template($conf_template_file),
    notify  => Service['storm-globus-gridftp'],
  }

  ## ensure backwards compatibility after moving conf file to /etc/grid-security/gridftp.conf
  file { '/etc/gridftp.conf':
    ensure => absent,
  }

  $sysconfig_file='/etc/sysconfig/storm-globus-gridftp'
  $sysconfig_template_file='storm/etc/sysconfig/storm-globus-gridftp.erb'

  file { $sysconfig_file:
    ensure  => file,
    path    => $sysconfig_file,
    content => template($sysconfig_template_file),
    notify  => Service['storm-globus-gridftp'],
  }
}