Autopkg

Automating tedious tasks since 2010!

This project is maintained by autopkg

AutoPkg

AutoPkg is a system for automatically preparing software for distribution to managed clients. Recipes allow you to specify a series of simple actions which combined together can perform complex tasks, similar to Automator workflows or Unix pipes.

See the wiki for more information and full documentation.

Discussion of the use and development of AutoPkg is here.

Installation

Get the latest installer from the Releases GitHub page.

This will also set up a packaging server and a launchd job so regular users can create packages.

Configuration

Set MUNKI_REPO in ~/Library/Preferences/com.github.autopkg.plist if you want recipes to populate your munki repository.

defaults write com.github.autopkg MUNKI_REPO /path/to/your/munki/repo

Usage

These are just a few examples. See the wiki for more usage info.

Run a recipe:

autopkg run recipename

List all recipes:

autopkg list-recipes

See all commands:

autopkg help

Getting Recipes

No recipes are included with the base autopkg tools. You can use autopkg to get some:

autopkg repo-add http://github.com/autopkg/recipes.git

This clones the recipes repo into ~/Library/AutoPkg/RecipeRepos/, where autopkg will find them automatically. You can keep your recipes up to date using the repo-update command:

autopkg repo-update all