Git Product home page Git Product logo

chef-study's Introduction

chef-study: Case study from dummy to pro

Build Status PRs Welcome

LinkedIn Slack Github

File me tickets or star the repo.

Table of Contents

Scenarios

Scenario-101: Chef HelloWorld I

  • 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

Scenario-102: Chef HelloWorld II

  • 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

Scenario-103: Chef HelloWorld III

  • Objective: Setup chef server and chef client
  • Requirements:
1. Start 2 container: chef server and chef client
2. Apply dummy cookbook in chef client node

Scenario-201: Enforce TDD For Your Chef Cookbooks I

  • 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

Scenario-202: Enforce TDD For Your Chef Cookbooks II

  • 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

Scenario-301: Use Chef To Deploy A Real Service I

  • Objective: Use chef to deploy one common service for real
  • Requirements:
1. Deploy jenkins with customization: one jenkins user, dummy jobs and some plugins

Scenario-302: Use Chef To Deploy A Real Service II

  • 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

More Resources

Contributors: Give People Credits

Below are folks who have contributed via GitHub!

License

chef-study's People

Contributors

agill17 avatar

Watchers

James Cloos avatar Nikhil Da Rocha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.