Puppet Class: classroom_legacy::course::fundamentals

Inherits:
classroom_legacy::params
Defined in:
manifests/course/fundamentals.pp

Overview

This is a wrapper class to include all the bits needed for Fundamentals

Parameters:

  • offline (Any) (defaults to: $classroom_legacy::params::offline)
  • manage_yum (Any) (defaults to: $classroom_legacy::params::manage_yum)
  • time_servers (Any) (defaults to: $classroom_legacy::params::time_servers)
  • jvm_tuning_profile (Any) (defaults to: $classroom_legacy::params::jvm_tuning_profile)
  • event_id (Any) (defaults to: undef)
  • event_pw (Any) (defaults to: undef)
  • version (Any) (defaults to: undef)


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
# File 'manifests/course/fundamentals.pp', line 3

class classroom_legacy::course::fundamentals (
  $offline            = $classroom_legacy::params::offline,
  $manage_yum         = $classroom_legacy::params::manage_yum,
  $time_servers       = $classroom_legacy::params::time_servers,
  $jvm_tuning_profile = $classroom_legacy::params::jvm_tuning_profile,
  $event_id           = undef,
  $event_pw           = undef,
  $version            = undef,
) inherits classroom_legacy::params {
  # just wrap the classroom class
  class { 'classroom_legacy':
    offline            => $offline,
    role               => $role,
    manage_yum         => $manage_yum,
    time_servers       => $time_servers,
    jvm_tuning_profile => $jvm_tuning_profile,
  }

  if $role == 'master' {
    class { 'classroom_legacy::master::showoff':
      course             => 'Fundamentals',
      event_id           => $event_id,
      event_pw           => $event_pw,
      version            => $version,
    }
  }

  class { 'classroom_legacy::facts':
    coursename => 'fundamentals',
  }
}