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
- Host: GitHub
- URL: https://github.com/juanje/mortero
- Owner: juanje
- Created: 2012-02-02T04:30:21.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-16T02:39:30.000Z (over 14 years ago)
- Last Synced: 2023-04-12T13:02:26.671Z (about 3 years ago)
- Topics: chef, cucumber, lwrp, ruby, testing
- Language: Ruby
- Homepage:
- Size: 92.8 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.