Skip to content

Instantly share code, notes, and snippets.

View pborenstein's full-sized avatar

Philip Borenstein pborenstein

View GitHub Profile
# shove this in ~/.chef/bootstrap/joyent-smartos.erb
# run knife bootstrap <hostname> -d joyent-smartos
# Modified for base[64] 1.8.4
bash -c '
if [ ! -f /opt/local/bin/chef-client ]; then
cd /tmp
pkgin -y install ruby193-chef
fi