Adoptable Cookbooks List

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Usage

Generic

Just include devstack in your node's run_list:

{
"name":"my_node",
"run_list": [
"recipe[devstack]"
]
}

Local Testing

There is also test-kitchen support for this cookbook. You can run:
bash
$ chef exec kitchen verify
and it'll build it via vagrant on your local machine. There are serverspec tests also attached to verify devstack
is built correctly. You'll notice that it stops outputting at Recipe: devstack::stack, it's running the stack.sh behind the scenes,
it averages 30ish mins on my MacBook Pro.
You can login to the devstack instance via:
bash
$ chef exec kitchen login <version you converged>
vagrant@<machine_you_converged> $ cd /opt/stack/devstack/
vagrant@<machine_you_converged>:/opt/stack/devstack/ $ source openrc
vagrant@<machine_you_converged>:/opt/stack/devstack/ $ nova list
vagrant@<machine_you_converged>:/opt/stack/devstack/ $ nova nova boot test --image cirros-0.3.2-x86_64-uec --flavor 1
If you haven't changed any variables and usernames/passwords, you can go to http://localhost:8080 and use demo/devstack and see
the dashboard.