Lays down a customized puppet testbed based on the puppet skeleton
First, install Yeoman and generator-puppetskel using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-puppetskel
Then generate your new project:
yo puppetskel
This module exists to simplify the creation of a useful puppet module testbed. It utilizes rspec-puppet for unit tests, and Beaker for acceptance tests. (I'm still working on Windows Beaker tests for now). This is to simplify the process of starting from scratch to build a Puppet module, and the testbed was derived from GarethR's Puppet Module Skeleton. I will add gradual improvements, but I hope this can be useful to anyone starting out with Puppet module creation.
Unit tests:
bundle exec rake test
Acceptance on an OS:
bundle exec rake acceptance[centos6]
I apologize if everything in this doesn't work out of the box. I work on a lot of projects, and don't get to keep everything up to date all the time. If it's not working quite right, feel free to reach out.
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced. Feel free to learn more about him.