Gordon Ramsay of Chef repo building workflow
Shell CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
auto-download.sh
color-echo.sh
download.sh
find-deps.sh
gordon.sh
help.txt
init.sh
install.sh
load-deps.coffee
load-deps.js
remove.sh

README.md

gordon

"Hell's Provisioning"

After finding the knife commands to be verbose to a degree of extreme annoyance and knife not managing the simple task of unpacking it's own groceries, I decided there was need for an actual Chef so I called Gordon Ramsay over! No more annoying fumbling with the knife as you try to remember whether it was cookbook site download or site download cookbook or whatever. No more combing through metadata.rbs and metadata.jsons for dependencies. Need to create new repository? "Where was that example repo again? I swear I had the url somehere in my emails..." Don't worry, Gordon has got you covered!

DISCLAIMER: This project has nothing to do with Gordon Ramsay and if you are Gordon Ramsay thinking to yourself "what's this fucker doing with my name?", get back in the kitchen. What? No I won't pay royalties, piss off.

Installing

$ curl nikolas.ninja/gordon | bash

Prerequisites

You'll need knife and CoffeeScript to use this program, e.g.

$ sudo apt-get install -y npm chef curl bash
$ sudo npm install -g coffee-script

Soft install

If you would like to develop gordon, you could do a soft install which simply links the gordon.sh from this repository to /usr/bin/gordon.

$ git clone git@github.com:Hallian/gordon.git
$ cd gordon
$ bash install.sh --soft

Usage

Init Chef repository

You can use gordon to start a new chef repository, e.g.

$ gordon init # default path for repo is /var/chef
$ gordon init myrepo # path to your new repository. must not exist

Download

To download something from Chef Superstore, run:

$ cd /var/chef
$ gordon download nginx

Dependencies

To see what dependencies your repository has, run:

$ cd /var/chef
$ gordon deps

You can also auto-download dependencies by running download with no parameters, e.g.

$ cd /var/chef
$ gordon download

Found a bug?

Please report any bugs you might encounter and pull requests are welcome.

Authors

Nikolas Lahtinen (nikolas.ninja)

License

MIT