Skip to content

Instantly share code, notes, and snippets.

@maxlinc
maxlinc / Vagrantfile
Created June 11, 2013 21:23
All rackspace image/flavor combos
require 'fog'
service = Fog::Compute.new({
:provider => 'rackspace',
:rackspace_username => Fog.credentials[:rackspace_username],
:rackspace_api_key => Fog.credentials[:rackspace_api_key],
:version => :v2, # Use Next Gen Cloud Servers
:rackspace_region => :dfw
})
@maxlinc
maxlinc / gist:3725464
Created September 14, 2012 22:51
Call an environment specific value-adding activity from within a Go template
<pipeline name="deploy">
<stage name="deploy">
<jobs>
<job name="deploy">
<tasks>
<exec command="bundle" workingdir="rpm">
<arg>install</arg>
<arg>--quiet</arg>
<arg>--path</arg>
<arg>/var/go/gems</arg>