Puppet Class: rook

Inherits:
rook::params
Defined in:
manifests/init.pp

Overview

Class: rook

Full description of class rook here.

Parameters


Document parameters here.

  • ‘sample parameter`

Explanation of what this parameter affects and what it defaults to. e.g. “Specify one or more upstream ntp servers as an array.”

Variables


Here you should define a list of variables that this module would require.

  • ‘sample variable`

Explanation of how this variable affects the function of this class and if
it has a default. e.g. "The parameter enc_ntp_servers must be set by the
External Node Classifier as a comma separated list of hostnames." (Note,
global variables should be avoided in favor of class parameters as
of Puppet 2.6.)

Examples


Authors


Author Name <author@domain.com>

Copyright


Copyright 2017 Your name here, unless otherwise noted.

Examples:

class { 'rook':
  servers => [ 'pool.ntp.org', 'ntp.local.company.com' ],
}

Parameters:

  • env (Array) (defaults to: $rook::params::env)
  • path (Array) (defaults to: $rook::params::path)
  • version (String) (defaults to: $rook::params::version)
  • default_storage (Boolean) (defaults to: $rook::params::default_storage)


45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'manifests/init.pp', line 45

class rook (

  Array $env               = $rook::params::env,
  Array $path              = $rook::params::path,
  String $version          = $rook::params::version,
  Boolean $default_storage = $rook::params::default_storage,

) inherits rook::params {

  include rook::packages
  include rook::storage_class
  contain rook::packages
  contain rook::storage_class

  Class['rook::packages']
    -> Class['rook::storage_class']

}