Puppet Class: tungsten::tungstenhadoop

Defined in:
manifests/tungstenhadoop.pp

Overview

Parameters:

  • distribution (Any) (defaults to: false)


17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/tungstenhadoop.pp', line 17

class tungsten::tungstenhadoop (
	$distribution = false
) {
  anchor{"tungsten::tungstenhadoop::end": }

  if $distribution == "cdh5" {
    include tungsten::tungstenhadoop::tools

    class{ "tungsten::tungstenhadoop::cdh5": } ->
    Anchor["tungsten::tungstenhadoop::end"]
  } elsif $distribution != false {
    fail("The ${module_name} module is not able to install the ${distribution} Hadoop distribution.")
  }
}