Home

Awesome

Sunzi Recipes

Sunzi is a server provisioning tool for minimalists.

This is a public repository for Sunzi recipes, to demonstrate what Sunzi is capable of.

Recipes can be directly retrieved by sunzi compile. Just point to the URL of a raw file in sunzi.yml.

Sunzi is Linux distro agnostic in itself, but most recipes here are for Debian.

Warning: Everything here is a work in progress. Make your own fork when you need a reliable repository.

Usage

To use a recipe, take the URL of the raw text:

take raw

and put it in sunzi.yml:

recipes:
  authorized_keys: https://raw.githubusercontent.com/kenn/sunzi-recipes/master/authorized_keys.sh

and use it in install.sh (source recipes/[name].sh [arg1] [arg2] ...):

source recipes/authorized_keys.sh kenn

and sunzi deploy will run the configuration change.

Other repositories

Here's a list of other Sunzi recipes available, for your convenience.

If you have a public repository, fork this project, add yours to this README and send a pull request.