Skip to content

Yeoman generator to build Puppet modules using the Puppet module skeleton as a starting point. Provides a testbed and general structure.

Notifications You must be signed in to change notification settings

joshsouza/generator-puppetskel

Repository files navigation

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

About

Yeoman generator to build Puppet modules using the Puppet module skeleton as a starting point. Provides a testbed and general structure.

Resources

Stars

Watchers

Forks

Packages

No packages published