No commit activity in last 3 years
No release in over 3 years
If you use Rackspace Autoscale and want to find out which server
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.32
 Project Readme

Capistrano::Rackspace

A Capistrano 3.x plugin that provides dynamic configuration via the Rackspace API

Installation

gem 'capistrano-rackspace'
gem 'capistrano'

And then execute

bundle install

Usage

Require in Capfile to use

require 'capistrano/rackspace'

You can then use the Rackspace functionality in the deploy/environment files

Rackspace::Configuration.username = 'substitute.rackspace.username'
Rackspace::Configuration.api_key = 'substitute.rackspace.api.key'
Rackspace::Configuration.region = :ord
Rackspace::Configuration.autoscale_group = "AUTOSCALE-GROUP-NAME"

autoscale = Rackspace::AutoScale.new

role :app, %w{deploy@standalone-server} + autoscale.addresses
role :web, %w{deploy@standalone-server} + autoscale.addresses
role :db,  %w{deploy@standalone-server}

alternatively you can use autoscale.private_addresses, if you need the internal addresses.