Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/petems/cucumber-puppet.example

Example project of cucumber-puppet usage
https://github.com/petems/cucumber-puppet.example

Last synced: 1 day ago
JSON representation

Example project of cucumber-puppet usage

Awesome Lists containing this project

README

        

# Cucumber-Puppet Example

[![Build Status](https://travis-ci.org/petems/cucumber-puppet.example.png?branch=master)](https://travis-ci.org/petems/cucumber-puppet.example)

An example puppet project, using cucumber-puppet.

Have a look at the commit log to see how the project evolves.

There are several points to take away:
* use an overarching catalog policy to specify generic behaviour of all
catalogs
* use module specific features to describe those parts of your manifests or
templates, that contain logic
* use module specific features to describe custom extensions like functions
* write high level feature files, don't get yourself hung up on details
* as a corollary, steps are hardly reusable, they should be tailored to your
specific situation
* keep your step implementations short, just write the code you wish you had
* the bulk of the work should be done by custom helper methods

Are you wondering how to accomplish some task with cucumber-puppet? Do you have
any feedback on the work presented here? Just open an issue and let me know!