Skip to content

Instantly share code, notes, and snippets.

@johnzimm
Created April 7, 2015 17:34
Show Gist options
  • Select an option

  • Save johnzimm/77bb37184f9f2fb57bc0 to your computer and use it in GitHub Desktop.

Select an option

Save johnzimm/77bb37184f9f2fb57bc0 to your computer and use it in GitHub Desktop.
Puppet Example .pp File
# Class/Define: module_name::class_or_define
#
# One Liner about what this does
#
# Parameters:
# - The $required does....
# - The $paramater does .....
# - One line per parameter...
#
# Actions:
#
# Requires:
#
# Sample Usage:
#
class class_or_define (
$required,
$parameter = hiera('module_name::class_or_define::parameter', 'default value'),
) {
#
# Include other classes as necessary
# Follow package file service as much as possible.
# Keep related things together
# Make a new class or define for re-usable components.
#
#
# Package
#
#
# File
#
#
# Service
#
} # end class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment