Skip to content

Instantly share code, notes, and snippets.

View mdurn's full-sized avatar

Michael Durnhofer mdurn

  • Respawn Entertainment
  • Los Angeles, CA
View GitHub Profile
@jameskyle
jameskyle / chef_server_install.sh
Created November 8, 2012 15:51
Hands off installation of chef server + nginx https proxy
#!/bin/bash
CHEF_SERVER_WEBUI_PASS=webui_admin_pass
CHEF_AMQP_PASS=amqp_pass
CHEF_FQDN=chef.yourdomain.com
CHEF_URL=https://${CHEF_FQDN}
export DEBIAN_FRONTEND=noninteractive
echo "deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main" | tee /etc/apt/sources.list.d/opscode.list
mkdir -p /etc/apt/trusted.gpg.d