Forge Home


A Module for Assisting in Learning Custom Types and Providers


9,055 latest version

4.4 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.1 (latest)
  • 1.0.0
released May 14th 2015

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'onyxpoint-learning_custom_types', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add onyxpoint-learning_custom_types
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install onyxpoint-learning_custom_types --version 1.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



onyxpoint/learning_custom_types — version 1.0.1 May 14th 2015

Learning Custom Types

This module attempts to clearly delineate the execution of a custom type and provider and demonstrate what you can do with each.

It is meant as a learning and teaching aid and should not be used in production but may be a good place to start when developing a new custom type.


This module can be installed on a running master to get an idea of what part execute on the master and the client. Or you can run it using puppet apply with the following method.

# Make sure you're using Puppet 3 or higher!

git clone
mv onyxpoint-learning_custom_types learning_custom_types
cd learning_custom_types

# Optional
# bundle

rake Run_Walkthrough


You can also step through the code using Pry,

rake Run_Walkthrough[yes]


Please log tickets and issues in the Learning Custom Types project on GitHub.


All code Copyright (C) 2015 Onyx Point, Inc.