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

https://github.com/juanje/mortero

Place for testing LWRP for Chef
https://github.com/juanje/mortero

chef cucumber lwrp ruby testing

Last synced: 5 months ago
JSON representation

Place for testing LWRP for Chef

Awesome Lists containing this project

README

          

Description
===========

This is a simple environment to create and test Chef's LWRPs.

The name is because **mortero**, in Spanish, is the bowl were you crush,
grind and mix things to make sauces. And for me *LWRP*s are the sauces
for our recipes in Chef :-)
So the *mortero* is were I mix things out to get a good *sauce* for
my Chef's recipes :-)

I have to document a bit this...

But to have a first taste let's see some simple steps:

bundle install
git clone git://github.com/gecos-team/cookbook-conf.git cookbooks/conf
vagrant up
cucumber features/test.feature

You can copy your LWRP's cookbook you like to test into the `cookbooks/`
directory and reuse one of the `features/*.feature` files to test it.

You have some new *step_definitions* to work with *Vagrant* and the *Chef*'s
recipes under the `features/step_definitions` directory, but you can also
use the *Aruba* ones or create your owns.

License and Author
==================

Authors: Juanje Ojeda

Copyright 2012 Juanje Ojeda

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.