Puppet Class: osg::lcmaps_voms::config

Defined in:
manifests/lcmaps_voms/config.pp

Summary

Manage lcmaps voms configs

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
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'manifests/lcmaps_voms/config.pp', line 3

class osg::lcmaps_voms::config {

  osg_local_site_settings { 'Misc Services/authorization_method':
    value => 'vomsmap',
  }
  osg_local_site_settings { 'Misc Services/edit_lcmaps_db':
    value => true,
  }
  osg_local_site_settings { 'Misc Services/gums_host':
    ensure => 'absent',
    value  => 'DEFAULT',
  }

  concat { '/etc/grid-security/voms-mapfile':
    ensure => 'present',
    owner  => 'root',
    group  => 'root',
    mode   => '0644',
    warn   => true,
  }

  concat { '/etc/grid-security/grid-mapfile':
    ensure => 'present',
    owner  => 'root',
    group  => 'root',
    mode   => '0644',
    warn   => true,
  }

  file { '/etc/grid-security/ban-voms-mapfile':
    ensure  => 'present',
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    content => template('osg/lcmaps_voms/ban-voms-mapfile.erb')
  }

  file { '/etc/grid-security/ban-mapfile':
    ensure  => 'present',
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    content => template('osg/lcmaps_voms/ban-mapfile.erb')
  }

}