Skip to content

skarab7/myapp-chefspec-example

Repository files navigation

myapp-example-cookbook

Example of a cookbook with chefspec (in memory testing cookbook)

More examples:

How to run chefspec:

  • 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
    

Supported Platforms

TODO: List your supported platforms.

Attributes

Key Type Description Default
['myapp-example']['bacon'] Boolean whether to include bacon true

Usage

myapp-example::default

Include myapp-example in your node's run_list:

{
  "run_list": [
    "recipe[myapp-example::default]"
  ]
}

License and Authors

Author:: YOUR_NAME (<YOUR_EMAIL>)

About

An example of a cookbook with chefspec tests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published