Puppet Class: pscobol::peoplesoft

Inherits:
pscobol::params
Defined in:
manifests/peoplesoft.pp

Summary

Compiles PeopleSoft Cobol sources Compiles PeopleSoft Cobol sources

Overview

Examples:

include pscobol::peoplesoft

Parameters:

  • ensure (Enum['present','absent']) (defaults to: $pscobol::params::ensure)

    Standard puppet ensure, e.g. present, absent, installed, etc

  • installdir (Optional[String]) (defaults to: $pscobol::params::installdir)

    Location where Microfocus Visual Cobol is installed

  • ps_home (Optional[String]) (defaults to: $pscobol::params::ps_home)

    Location of Peoplesoft PS_HOME directory

  • targets (Optional[Array[String[1]]]) (defaults to: $pscobol::params::targets)

    Array of Names of Targets to compile, could be none or few of (‘PS_HOME’|‘PS_APP_HOME’|‘PS_CUST_HOME’)

  • ps_app_home (Optional[String]) (defaults to: $pscobol::params::ps_app_home)
  • ps_cust_home (Optional[String]) (defaults to: $pscobol::params::ps_cust_home)


19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'manifests/peoplesoft.pp', line 19

class pscobol::peoplesoft (
  Enum['present','absent']        $ensure            = $pscobol::params::ensure,
  Optional[String]                $installdir        = $pscobol::params::installdir,
  Optional[String]                $ps_home           = $pscobol::params::ps_home,
  Optional[String]                $ps_app_home       = $pscobol::params::ps_app_home,
  Optional[String]                $ps_cust_home      = $pscobol::params::ps_cust_home,
  Optional[Array[String[1]]]      $targets           = $pscobol::params::targets,
) inherits pscobol::params {

  debug ("Ensure 'pscobol::peoplesoft' to be '${ensure}' in '${targets}'")

  class { 'pscobol::peoplesoft::compile':
    ensure       => $ensure,
    installdir   => $installdir,
    ps_home      => $ps_home,
    ps_app_home  => $ps_app_home,
    ps_cust_home => $ps_cust_home,
    targets      => $targets,
  }

  contain 'pscobol::peoplesoft::compile'

}