File me tickets or star the repo.
- chef-study
- Scenarios
- Scenario-101: Chef HelloWorld I
- Scenario-102: Chef HelloWorld II
- Scenario-103: Chef HelloWorld III
- Scenario-201: Enforce TDD For Your Chef Cookbooks I
- Scenario-202: Enforce TDD For Your Chef Cookbooks II
- Scenario-301: Use Chef To Deploy A Real Service I
- Scenario-302: Use Chef To Deploy A Real Service II
- More Resources
- Contributors: Give People Credits
- License
- Objective: Create a dummy cookbook, and test deployment in docker
- Requirements:
1. Use docker container to start a env with chef pre-installed
2. Create a dummy cookbook and apply it
- See more: Scenario-101
- Objective: Pure VM deployment
- Requirements:
1. Start a VM, install chef facility
2. Create a dummy cookbook to install jq package
3. Before install jq, run "apt-get update" by chef. So you need berkshelf.
4. Enforce rubocop and foodcritic for code static check
- See more: Scenario-102
- Objective: Setup chef server and chef client
- Requirements:
1. Start chef server in one container
2. Setup chef client in another container
3. Apply dummy cookbook in chef client node
- See more: Scenario-103
- TODO
- Objective: Test your cookbooks
- Requirements:
1. Use kitchen to test your cookbook: start a VM and test the logic
2. Enforce kitchen verify logic via serverspec
- See more: Scenario-201
- TODO
- Objective: Support test with both VM and docker, thus it can be faster
- Requirements:
1. Based on Scenario-201, test cookbook with both VM and docker
- See more: Scenario-202
- TODO
- Objective: Use chef to deploy one common service for real
- Requirements:
1. Deploy jenkins with customization: one jenkins user, dummy jobs and some plugins
- See more: Scenario-301
- TODO
- Objective: Test and verify the deployment for both all-in-one and 2 nodes cluster
- Requirements:
1. Test 2 nodes jenkins cluster deployment in docker
2. Verify the deployment
3. Support deploy to both docker and EC2
- See more: Scenario-302
- TODO
Below are folks who have contributed via GitHub!
- Code is licensed under MIT License.