Sha256: 949e41c79b6053d2137617473c17b143c2996f67a62123cd6b28380a154eb09b
Contents?: true
Size: 715 Bytes
Versions: 3
Compression:
Stored size: 715 Bytes
Contents
require "fog" require "capistrano/elobuff/ec2/helpers" require "capistrano/elobuff/ec2/compute" require "capistrano/elobuff/ec2/server" Capistrano::Configuration.instance.load do require_settings :ec2_ami, :ec2_instance_type, :ec2_security_group, :ec2_availability_zone set_default(:ec2_key) { ENV["AWS_EC2_KEY"] || ENV["AWS_S3_KEY"] || raise("Please specify an AWS_EC2_KEY") } set_default(:ec2_secret) { ENV["AWS_EC2_SECRET"] || ENV["AWS_S3_SECRET"] || raise("Please specify an AWS_EC2_SECRET") } set_default(:ec2) { Capistrano::Elobuff::Ec2::Compute.new application, ec2_key, ec2_secret } end Dir.glob(File.join(File.dirname(__FILE__), "/ec2/recipes/*.rb")).sort.each {|f| load f }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-elobuff-0.2.2 | lib/capistrano/elobuff/ec2.rb |
capistrano-elobuff-0.2.1 | lib/capistrano/elobuff/ec2.rb |
capistrano-elobuff-0.2.0 | lib/capistrano/elobuff/ec2.rb |