Sha256: dde063172e0b752f755d832d61d48596dd88ac5f1e09e7b7ac59a0474152b62b

Contents?: true

Size: 666 Bytes

Versions: 5

Compression:

Stored size: 666 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"] || die("Please specify an AWS_EC2_KEY") }
  set_default(:ec2_secret)    { ENV["AWS_EC2_SECRET"] || die("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

5 entries across 5 versions & 1 rubygems

Version Path
capistrano-elobuff-0.2.7 lib/capistrano/elobuff/ec2.rb
capistrano-elobuff-0.2.6 lib/capistrano/elobuff/ec2.rb
capistrano-elobuff-0.2.5 lib/capistrano/elobuff/ec2.rb
capistrano-elobuff-0.2.4 lib/capistrano/elobuff/ec2.rb
capistrano-elobuff-0.2.3 lib/capistrano/elobuff/ec2.rb