Puppet Class: trialmodule

Defined in:
manifests/init.pp

Overview

Class: trialmodule

Full description of class trialmodule 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 2018 Your name here, unless otherwise noted.

Examples:

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

Parameters:

  • custom_message (String) (defaults to: 'A default message')


45
46
47
48
49
# File 'manifests/init.pp', line 45

class trialmodule ( String $custom_message = 'A default message') {
  notify { 'default':
    message => $custom_message
  }
}