Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bahamas10/chef-standalone

Build a standalone Chef installation on SmartOS - useful while omnibus is broken for this OS
https://github.com/bahamas10/chef-standalone

Last synced: about 2 months ago
JSON representation

Build a standalone Chef installation on SmartOS - useful while omnibus is broken for this OS

Awesome Lists containing this project

README

        

chef-standalone
===============

Build a standalone Chef installation on SmartOS - useful while omnibus is broken for this OS

Pre-built binaries are available at http://us-east.manta.joyent.com/bahamas10/public/chef-standalone/index.html

Example
-------

Build a standalone chef tarball on version `v12.2.1` of chef

$ ./build-chef-tarball -v 12.2.1 smartos-chef-12.2.1-x64.tar.gz

This will install Ruby and Chef to `/opt/chef`, as well as create the tarball
specified as the first argument. The tarball argument is optional, and will be skipped
if omitted.

Usage
-----

$ ./build-chef-tarball -h
usage: build-chef-tarball [-v chef_version] [-r ruby_url] [-d cache_dir] [-h] [tarball_name.tar.gz]

build a standalone chef tarball on SmartOS

options
-c the dir to use for install chef, defaults to /opt/chef
-d the dir to use for caching ruby tarballs, defaults to /home/dave/.chef-standalone
-f wipe out /opt/chef before building
-g fully independent build for global zone
-h print this message and exit
-j number of jobs, will be passed as make -j , defaults to 4
-r the url of the ruby tarball to use, defaults to http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz
-t tar executable name, defaults to gtar
-v the chef version to install, defaults to 12.4.1

License
-------

MIT License