Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Download and install chef cookbooks

branch: master
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

Something went wrong with that request. Please try again.