ExpectedBehavior Capistrano Extensions
This is a Ruby gem that contains some extensions for Capistrano to perform some of those wonderful dev-ops we all love. Currently, it has tasks for updating firewall rules and granting mySQL permissions to remote boxes.
require 'eb_capistrano_extensions' # in your deploy.rb