Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 2.12 KB

README.md

File metadata and controls

53 lines (35 loc) · 2.12 KB

generator-puppetskel NPM version Build Status Dependency Status

Lays down a customized puppet testbed based on the puppet skeleton

Installation

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

Purpose

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.

Testing

Unit tests:

bundle exec rake test

Acceptance on an OS:

bundle exec rake acceptance[centos6]

Warnings

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.

Getting To Know Yeoman

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.

License

© Josh Souza