Skip to content

kuleszaj/chef-solo-with-vagrant

Repository files navigation

Chef Solo with Vagrant

This repository is an example of the "Chef Solo with Vagrant" pattern that Atomic Object has used for maintaining various servers.

The intent is to provide a skeletal framework from which others can start using the pattern, and also track changes to the pattern itself.

Requirements

  1. Ruby 1.9.3
  2. Bundler
  3. Vagrant 1.1.x or 1.2.x
  4. VirtualBox
  5. (Could be adapted to use other Vagrant providers, such as VMWare Fusion or AWS)

Getting Started

The following steps will install all necessary gems, boot a new Vagrant, bootstrap chef on the Vagrant, and finally run chef on the Vagrant.

  1. Run bundle install
  2. Run bundle exec cap vexample vg:up
  3. Run bundle exec cap vexample bootstrap
  4. Run bundle exec cap vexample chef

Customization

README files in each of the repository's directories provide information about the purpose of the directory and included files. Working examples have been provide ("example" and "vexample" stages, and "example_cookbook" cookbook).

About

Using Chef Solo with Vagrant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published