chef-boneyard / chef-provisioning

A library for creating machines and infrastructures idempotently in Chef.
Apache License 2.0
524 stars 164 forks source link

chef-provisioning `getting started` guide spike #350

Open tyler-ball opened 9 years ago

tyler-ball commented 9 years ago

We need a better story around 'getting started'. There are currently some docs in chef-provisioning but word on the street is they don't work. So this spike is to examine where we are currently and discuss where we want to go.

Acceptance Criteria: Write down 3 stories, each of which encompases a different step in the 'getting started' guide. The first step should be prerequisites and creating a machine locally with vagrant. The second step should be creating a single machine in AWS. The third step should be creating a cluster of machines with a load balancer and back end database with chef-provisioning.

All the guides should be written in a walkthrough oriented, blog style format which allow users to go from nothing to a completed product at the end of the post.

Questions:

bookshelfdave commented 9 years ago

probably out of scope, but I'd love to see this as part of Learn Chef.

georgecook-cbt commented 9 years ago

It might also be useful to have a bit on extending current driver coverage for folks who want to help add more services. I was thinking about how you were discussing in the video about the differences in the aws resources and how they're extensions of one of the two base resources.

jamescott commented 9 years ago

We have solid reference topics for all of the machine resources:

http://docs.chef.io/resource_machine.html http://docs.chef.io/resource_machine_batch.html http://docs.chef.io/resource_machine_execute.html http://docs.chef.io/resource_machine_file.html http://docs.chef.io/resource_machine_image.html

^^^ these should be reviewed for accuracy, with examples added (if possible).

Docs are weak in the following areas:

Driver references Overview (what is it, diagrams, use case/scenarios) Getting started load_balancer resource

We should make sure that if we blog about these features/components, that the docs have all the info first, so that we can link from the blog to the finished topics.

There is a topic for Provisioning, here: docs.chef.io/provisioning.html ... right now, it's a list of all the provisioning-related resources (including all of the Cheffish ones). As the docs for provisioning improve, they should be made visible via docs.chef.io/provisioning.html, as that's intended to be the main doc page for Chef provisioning similar to docs.chef.io/kitchen.html is for Kitchen.

james

jamescott commented 9 years ago

well, put the machine_batch resource in the "docs are weak" list, as it's missing descriptions for many actions/attributes.

bookshelfdave commented 9 years ago

awesome, thanks @jamescott

jamescott commented 9 years ago

Baseline AWS driver-specific resource references:

http://docs.chef.io/provisioning.html#aws-driver-resources

georgecook-cbt commented 9 years ago

That's some good looking doc!

tyler-ball commented 9 years ago

This is partly duplicated with https://github.com/chef/test-driven-infrastructure/issues/23