Example of a cookbook with chefspec (in memory testing cookbook)
More examples:
-
run berks before running chefspec (notice: it is slow):
make run_cookbook_chefspec
-
does not run berks, so it is extremely fast, notice: after changing cookbook dependencies, you need to run: berks vendor:
make run_cookbook_fast_chefspec
TODO: List your supported platforms.
Key | Type | Description | Default |
---|---|---|---|
['myapp-example']['bacon'] | Boolean | whether to include bacon | true |
Include myapp-example
in your node's run_list
:
{
"run_list": [
"recipe[myapp-example::default]"
]
}
Author:: YOUR_NAME (<YOUR_EMAIL>)