Code Monkey home page Code Monkey logo

chef-workflow-example's Introduction

Example Chef-Workflow Repository

Here's a repository you can clone and get going right now to see how the system works. Nobody's shy about saying chef-workflow takes an initial effort to get started, but at least this way you know what you're getting into first.

What you need

  • VirtualBox
  • SQLite libraries and headers to build the sqlite3 gem
  • Ruby 1.9.3 and a recent version of Bundler

Problems you may have

  • Each machine uses around 384MB of ram apiece, and in total 5 machines spawn, although not all at once nor do they all run at the same time. You will almost always have the chef server running, 3 machines are used for an integration test and 1 machine is used for a recipe test. Use a machine that can handle this accordingly. Alternatively, you can use EC2, but you'll need to configure things to do so. See the documentation.

  • If you have real machines in the 10.10.10.0/24 subnet you will run into problems accessing them while using this system. You can override this network specification in lib/chef-workflow-config.rb or with the environment variable TEST_CHEF_SUBNET. See the wiki or the configuration comments for more information.

Usage

  • Clone this repository, or fork it and clone your fork.
  • Run bundle in the repository root.
  • From here you should be able to do a full test run: bundle exec rake test:full, which builds a chef server, populates it, and runs some tests against machines that are created.
  • Beyond that, you should consult the documentation.

chef-workflow-example's People

Contributors

erikh avatar

Watchers

Sachin Sagar Rai avatar James Cloos avatar

Forkers

rmoreira timani

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.