Git Product home page Git Product logo

gusteau's Introduction

Gusteau

"Anyone can cook."

Build Status

Introduction

Gusteau is here to make servers provisioning simple and enjoyable. It provides an efficient interface to Chef Solo as well as some nice features:

  • Uses YAML for readable server configuration definitions
  • Uses a single SSH connection to stream compressed files and commands
  • Allows you to use normal Chef flags:
    • -W or --why-run (dry run mode)
    • -l for setting a log level and -F for setting an output formatter
  • Is able to bootstrap CentOS, RHEL, Ubuntu and Gentoo systems with chef-solo.

Gettings started

Gusteau is a Ruby gem:

gem install gusteau

A typical Gusteau node configuration looks like this:

json:
  mysql:
    server_root_password: ASahiweqwqe2
  rvm:
    default_ruby: 1.9.3-p362
  users:
   - linguini

roles:
  - platform
  - rails

recipes:
  - mysql::server
  - iptables

server:
  host: 33.33.33.20
  platform: ubuntu
  password: vagrant

Gusteau only needs a node definition to run, but you'll need a few cookbooks to actually cook something :) The following command generates an example configuration to get you started:

gusteau generate project-name

Next, cd project-name and see nodes/example.yml.

Provisioning a server

The following command will run all roles and recipes from node's YAML file.

gusteau node-name provision

Use the --bootstrap or -b flag to bootstrap chef-solo (for the first time run).

Running recipes

You may choose to run a few recipes instead of full provisioning.

gusteau node-name run redis::server ntp unicorn

Using with Vagrant

At the moment Gusteau doesn't come with Vagrant integration. However, using it with Vagrant is easy, just make sure that you provide the correct IP address of the VM in node's YAML file.

vagrant up
gusteau node-name provision

Notes

  • Feel free to contribute a bootstrap script for your platform.
  • Gusteau uploads both ./cookbooks and ./site-cookbooks so that you can use librarian-chef to include third party cookbooks.

gusteau's People

Watchers

 avatar  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.