Skip to content

Instantly share code, notes, and snippets.

Domain.blueprint do
name { "domain#{sn}" }
primary_ns { "4.2.2.1" }
contact { "contact name" }
serial { "#{sn}" }
refresh { 120 }
retry { 120 }
expire { 120 }
minimum { 120 }
end
# config/initializers/fingerprint.rb # XXX Breaks Rails asset bundling
#
# Mike Bailey <mike@bailey.net.au>
#
# Updates Rails Helpers to use fingerprint in path instead of timestamp in query string.
#
# Add the following to your Apache config to remove the fingerprints:
#
# # Remove fingerprints
# RewriteEngine On
# install_chef_server.sh
#
# From list post by John Merrells <john@merrells.com>
# Modified by Mike Bailey <mike@bailey.net.au>
logfile="/root/log.txt"
echo "-----" >> $logfile
# New sources.list
cat > /etc/apt/sources.list << EOF
require 'deprec'
# deploy.rb for installing tracks
#
# http://github.com/bsag/tracks/tree/master
#
# This file demonstrates how simple deprec-2.0.0 can make installing a Rails app.
#
# If you want to use Passenger, Ruby Enterprise Edition and Apache, simple update
# the value for :domain below and you're ready to deploy.