Skip to content

Instantly share code, notes, and snippets.

@swettk
swettk / README.md
Created November 19, 2015 03:26 — forked from fnichol/README.md
Testing on Mac Platforms with Test Kitchen

Testing Mac Platforms with Test Kitchen

We'll assume an OS X Mavericks (10.9) box here.

Requirements

You'll need:

  • Vagrant
  • Vagrant's VMware Fusion provider
@swettk
swettk / gist:e2f6811e7b3c8cbc50e3
Last active August 29, 2015 14:27 — forked from ebuildy/gist:5d4ad0998848eaefdad8
Setup sentry logger on a fresh Ubuntu server
sudo apt-get update
sudo apt-get install python-virtualenv
sudo apt-get install python-dev
sudo apt-get install postgresql
sudo apt-get install postgresql-server-dev-9.3
sudo apt-get install redis-server
sudo -u postgres createuser -s sentry
sudo -u postgres psql -c "alter user sentry with password 'sentry';"
@swettk
swettk / gist:a6ec628f9ee35c3b3810
Last active August 29, 2015 14:19
ChefDK Scripted install (beta)
curl -L https://chef.io/chef/install.sh | sudo bash -s -- -P chefdk -p
chef gem install chef-provisioning chef-provisioning-fog chef-provisioning-vagrant
---
driver_plugin: vagrant
provisioner: chef_zero
driver_config:
require_chef_omnibus: 11.6.0
http_proxy: http://10.0.3.1:8123
https_proxy: https://10.0.3.1:8123
provider: lxc
platforms:

Add the following chunk to your existing ISC dhcpd.conf file.

if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
    filename "undionly.kpxe";
}

(or see https://gist.github.com/4008017 for a more elaborate setup