Cinderhaze / puppet-reference

Reference modules for puppet best practices and patterns.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Reference modules for puppet best practices and patterns.