rspec-puppet

RSpec tests for your Puppet manifests

View the Project on GitHub rodjek/rspec-puppet

Home

Tutorial

Setup

Matchers

Changelog

Installing

$ gem install rspec-puppet

If you don’t have Puppet installed as a system package, you’ll also need to

$ gem install puppet

Getting Started

Go to your module, and run this handy script to prepare it for testing

$ cd path/to/your/module
$ rspec-puppet-init

If this fails or you wish to prepare your module manually, follow these instructions.

Now, proceed to the tutorial!