Download and install chef cookbooks
Ruby
Latest commit 755bb6e May 16, 2011 @trotter Bump to 0.0.12 release
Failed to load latest commit information.
bin Fix bin/spatula to reflect that we're using thor Mar 7, 2010
lib Add --ruby_version option to use 1.9.2-p0 if needed May 16, 2011
scripts Add scripts to forward port on test vm and ssh into it Mar 16, 2010
test Adding a test-chef-repo for testing cooking. Apr 11, 2010
.gitignore Ignore the vms directory Mar 16, 2010
CHANGELOG
LICENSE First! Nov 7, 2009
README.textile Update readme Jun 25, 2010
Rakefile Gem it up Nov 7, 2009
spatula.gemspec Bump to 0.0.12 release May 16, 2011

README.textile

Spatula

Spatula is a command line helper app for use with Chef. It currently lets you search and install cookbooks from http://cookbooks.opscode.com. It does not yet implement the full API, but that will be coming in future versions (as I need it). If you need it to support the full API right now, please make it do so and send me a pull request :-)

Spatula is really, really alpha. It does not handle errors at all, but it works pretty well given that you hand it the correct input. Please give it a try and pretty please fork it and make it better.

Installation

You can get spatula from gemcutter.

# Gemcutter:
# Follow the instructions on http://gemcutter.org/ then...
gem install spatula

Usage

Spatula currently supports 6 commands: search, show, install, prepare, and cook.

$ spatula search apache2
apache2 Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions
... more output ...

$ spatula show apache2
name:   apache2
average_rating:
category:       Web Servers
created_at:     2009-10-25T23:47:55Z
updated_at:     2009-10-25T23:47:55Z
maintainer:     jtimberman
latest_version: http://cookbooks.opscode.com/api/v1/cookbooks/apache2/versions/0_9_1
external_url:
versions:       http://cookbooks.opscode.com/api/v1/cookbooks/apache2/versions/0_9_1
description:    Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions

$ spatula install apache2
... downloads the apache2 cookbook and installs it into $(pwd)/cookbooks ...
... also creates a $(pwd)/cookbook_tarballs dir to store the download ...

$ spatula prepare user@192.168.1.101
... installs ruby, chef and dependencies on 192.168.1.101
... starts by adding your ssh public key to authorized_keys

$ spatula cook user@192.168.1.101 <node>
... uploads all of the files in the current directory to /tmp/chef-solo/
... expects solo.rb and <node>.json to live in ./config

About

Official Repo

http://github.com/trotter/spatula

Author

Trotter Cashion