Puppet Class: dmlite::srm::config

Inherits:
dmlite::srm::params
Defined in:
manifests/srm/config.pp

Overview

Parameters:

  • dbflavor (Any) (defaults to: $dmlite::srm::params::dbflavor)
  • active (Any) (defaults to: $dmlite::srm::params::active)
  • ulimitn (Any) (defaults to: $dmlite::srm::params::ulimitn)
  • coredump (Any) (defaults to: $dmlite::srm::params::coredump)
  • dpmhost (Any) (defaults to: $dmlite::srm::params::dpmhost)
  • nshost (Any) (defaults to: $dmlite::srm::params::nshost)
  • numthreads (Any) (defaults to: $dmlite::srm::params::numthreads)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/srm/config.pp', line 1

class dmlite::srm::config (
  $dbflavor   = $dmlite::srm::params::dbflavor,
  $active     = $dmlite::srm::params::active,
  $ulimitn    = $dmlite::srm::params::ulimitn,
  $coredump   = $dmlite::srm::params::coredump,
  $dpmhost    = $dmlite::srm::params::dpmhost,
  $nshost     = $dmlite::srm::params::nshost,
  $numthreads = $dmlite::srm::params::numthreads,
) inherits dmlite::srm::params {

  file {
    '/etc/sysconfig/srmv2.2':
      ensure  => file,
      owner   => root,
      group   => root,
      mode    => '0644',
      content => template('dmlite/srm/sysconfig.erb');
  }

  include dmlite::gaiconfig

}