Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 6.15 KB

README.md

File metadata and controls

63 lines (45 loc) · 6.15 KB

puppet-reference

A list of puppet modules, tools, testing, and architecture that are good references for current Puppet best practices.

Puppet 4

  • Puppet Tea - Custom Defined Types that can be used to shorten the parameter list definitions and/or when complex types are used in multiple places.

Tools

Editor support

Testing

The modules below each highlight one or more aspects of rspec-puppet testing.

Beaker

Types & Providers

Custom Facts

Mocking an Object like File.exists?

Including dependent classes

Template Results

Templates are often fed values by class parameters. Test for portions of the content based on the values you expect to find with various parameter settings, rather than testing the entire contents.

Architecture

Control Repositories

A Control Repository is used to control the code deployed in Puppet environments. Puppet has two official reference repositories, and there are some public repositories that are a mix of reference architecture and practical usage.

Other